edited by
934 views
0 votes
0 votes

Which two are valid constructions for Thread?

  1. Thread(Runnable r, String name)
  2. Thread()
  3. Thread(int priority)
  4. Thread(Runnable r, ThreadGroup g)
  5. Thread(Runnable r, int priority)

 

  1. $1$ and $3$
  2. $2$ and $4$
  3. $1$ and $2$
  4. $2$ and $5$
edited by

2 Answers

0 votes
0 votes

ANS: C    

  1. Thread(Runnable r, String name)
  2. Thread()
Answer:

Related questions

3 votes
3 votes
2 answers
1
admin asked Apr 1, 2020
3,445 views
Which of the following scheduling algorithms could result in starvation?PriorityRound RobinFCFSNone of the above
1 votes
1 votes
2 answers
4