Programming  Java  Threads

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

String System Thread Runnable

Share QNo: 11

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

Runnable Connections Set MapConnections

Share QNo: 12

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

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

Share QNo: 13

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

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

Share QNo: 14

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 QNo: 15

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 QNo: 16

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 QNo: 17

18. Thread priority in Java is?

java.util java.lang Integer

Share QNo: 18

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 QNo: 19


*Click on the QNo to display a Question.

Total Ans