1.

Which of these classes is used to make a thread?(a) String(b) System(c) Thread(d) Runnable

Answer» The correct option is (c) Thread

Easiest explanation - The multithreading system is built upon the Thread class, which encapsulates a thread of execution. The Thread class is sealed, which means that it cannot be inherited. Thread defines several methods and properties that help manage threads.


Discussion

No Comment Found

Related InterviewSolutions