You are not logged in.

#1 2015-06-09 06:00:21

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Java Threads Quiz:

Question:
What if we call run() method directly instead start() method?

Option A):
Each thread starts in a separate call stack And Invoking the run() method from main thread, the run() method goes onto the current call stack rather than at the beginning of a new call stack
Option B):
Each thread starts in a separate call stack
Option C):
None
Option D):
Invoking the run() method from main thread, the run() method goes onto the current call stack rather than at the beginning of a new call stack

Correct Answer is Option A):
Each thread starts in a separate call stack And Invoking the run() method from main thread, the run() method goes onto the current call stack rather than at the beginning of a new call stack


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-06-09 06:00:21

Advertisement
Ads By Google

Re: Java Threads Quiz:



\n

Board footer