You are not logged in.

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

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

Public Static Boolean:

Which method is used in thread class to tests if the current thread has been interrupted?

Option A):
public static boolean interrupted()
Option B):
public void interrupt()
Option C):
public boolean isAlive()
Option D):
public boolean isInterrupted()

Correct Answer is Option A):
public static boolean interrupted()

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

2015-06-09 05:37:41

Ads By Google

Re: Public Static Boolean:

Board footer