Programming  Java  Threads

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

String System Thread Runnable
Comments

Share QNo: 11

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

Runnable Connections Set MapConnections
Comments

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()
Comments

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()
Comments

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()
Comments

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
Comments

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
Comments

Share QNo: 17

18. Thread priority in Java is?

java.util java.lang java.net Integer
Comments

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.
Comments

Share QNo: 19

 

*Click on the QNo to display a Question.

Total Ans