Programming  Java  Threads

11. Which of these class is used to make a thread?

String System Thread Runnable

Share this QA

12. Which of these interface is implemented by Thread class?

Runnable Connections Set MapConnections

Share this QA

13. Which of these method of Thread class is used to find out the priority given to a thread?

get() ThreadPriority() getPriority() getThreadPriority()

Share this QA

14. Which of these method of Thread class is used to Suspend a thread for a period of time?

sleep() terminate() suspend() stop()

Share this QA

15. Which function of pre defined class Thread is used to check weather current thread being checked is still running?

isAlive() Join() isRunning() Alive()

Share this QA

16. What is multithreaded programming?
Which of these are types of multitasking?

It’s a process in which two different processes run simultaneously. It’s a process in which two or more parts of same process run simultaneously. Its a process in which many different process are able to access same information. Process based

Share this QA

17. Which of these packages contain all the Java’s built in exceptions?

Thread based Process and Thread based None of the mentioned javio

Share this QA

18. Thread priority in Java is?

java.util java.lang Integer

Share this QA

19. Which of these statements is incorrect?

Float double long By multithreading CPU’s idle time is minimized, and we can take maximum use of it.

Share this QA


*Click on the QNo to display a Question.

Total Ans