Which two are valid constructors for Thread? (i) Thread() (ii) Thread(Runnable r, String s) (iii) Thread(Runnable r,

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) Thread(int priority)


(a) (i) and (iii) 

(b) (ii) and (iv)

(c) (i) and (ii) 

(d) (ii) and (v)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Advanced Java Programming

ISBN: 9780199455508

1st Edition

Authors: Uttam Kumar Roy

Question Posted: