Programming  Java  Threads

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

String System Thread Runnable

Workspace

Comments

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

Runnable Connections Set MapConnections

Workspace

Comments

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

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

Workspace

Comments

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

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

Workspace

Comments

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

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

Workspace

Comments

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

Workspace

Comments

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

Thread based Process and Thread based None of the mentioned javio

Workspace

Comments

18. Thread priority in Java is?

java.util java.lang java.net Integer

Workspace

Comments

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.

Workspace

Comments

 

*Click on the QNo to display a Question.

Total Ans