Programming - Threads

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

 
19.

The thread can come on this state because of waiting to acquire the lock of an object _________________.                        


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




20.

In how many ways Thread can be implemented?                        


A. 1 B. 2
C. 3 D. 4




21.

If you extend the Thread Class, that means that subclass cannot extend any other Class, but if you implement _________________ interface then you can do this.                        


A. Running B. Runnable
C. Executable D. Compilable




22.

The class implementing the _______________ interface can avoid the full overhead of Thread class which can be excessive.                        


A. Running B. Runnable
C. Executable D. Compilable




23.

____________________________ is used to represent a group of threads.                        


A. ThreadGroup B. Threading
C. Synchronization D. Assertions




24.

____________________________ can be shown in a hierarchical manner.                        


A. ThreadGroup B. Threading
C. Synchronization D. Assertions




« prev

1

2

3

4

5

6

7

8

9

next »

 
 



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