You are not logged in.

#1 2015-06-09 05:38:37

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

Public Void:

Which method in thread class causes the currently executing thread object to temporarily pause and allow other threads to execute?

Option A):
public int getId()
Option B):
public void yield()
Option C):
public boolean isAlive()
Option D):
public boolean isDaemon()

Correct Answer is Option B):
public void yield()

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

2015-06-09 05:38:37

Ads By Google

Re: Public Void:

Board footer