Which of the following is a correct constructor for thread?
A) thread(runnable a, string str)
B) thread(int priority)
C) thread(runnable a, int priority)
D) thread(runnable a, threadgroup t)
Correct Answer:
Verified
Q7: What requires less resources?
A)thread
B)process
C)thread and process
D)neither thread
Q8: What does not prevent JVM from terminating?
A)process
B)daemon
Q9: What decides thread priority?
A)process
B)process scheduler
C)thread
D)thread scheduler
Q10: What should not be done to avoid
Q11: What is true about threading?
A)run() method calls
Q13: Which of the following will ensure the
Q14: Which of these are types of multitasking?
A)process
Q15: What will happen if two thread of
Q16: In a RMI Client Program, what are
Q17: Which is a one-way communication only between
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents