Programming - Threads

You Are Here :: Home > JAVA > Threads - General Questions

 
13.

On this state, the thread is still alive but it is not runnable, it might be return to runnable state later, if a particular event occurs is called _________________________________                        


A. New State B. Running State
C. Dead State D. Sleeping State




14.

You can use the method sleep( ) to stop the running state of a thread.                        


A. stop() B. sleep()
C. init() D. destroy()




15.

A thread start its life from Runnable state is called _________________________ State.                        


A. Runnable State B. Running State
C. Dead State D. Blocked State




16.

A thread waits for notification from another thread. The thread sends back to runnable state after sending notification from another thread is called _______________.                        


A. Waiting for notification B. Destroy
C. Dead State D. Blocked State




17.

The thread waits for completion of blocking operation. A thread can enter on this state because of waiting I/O resource is called _____________________.                        


A. Waiting for notification B. Blocked on I/O
C. Blocked for joint completion D. Blocked for lock acquisition




18.

The thread can come on this state because of waiting the completion of another thread _____________________.                        


A. Waiting for notification B. Blocked on I/O
C. Blocked for joint completion D. Blocked for lock acquisition




« prev

1

2

3

4

5

6

7

8

9

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on