16.  Which one of the following is not shared by threads ?


program counter
stack
both (a) and (b)
none of the mentioned


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

17.  Which method must be defined by a class implementing the java.lang.Runnable interface ?


public void run()
public void start()
void run(int priority)
void run()


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

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


Runnable
Connections
Set
MapConnections


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

19.  A process can be


single threaded
multithreaded
both (a) and (b)
none of the mentioned


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

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


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


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report