Question: Which two are valid constructors for Thread? (i) Thread() (ii) Thread(Runnable r, String s) (iii) Thread(Runnable r, ThreadGroup g) (iv) Thread(String s, ThreadGroup g) (v)
Which two are valid constructors for Thread?
(i) Thread()
(ii) Thread(Runnable r, String s)
(iii) Thread(Runnable r, ThreadGroup g)
(iv) Thread(String s, ThreadGroup g)
(v) Thread(int priority)
(a) (i) and (iii)
(b) (ii) and (iv)
(c) (i) and (ii)
(d) (ii) and (v)
Step by Step Solution
3.35 Rating (158 Votes )
There are 3 Steps involved in it
c ... View full answer
Get step-by-step solutions from verified subject matter experts
