Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we call the Thread.sleep in Synchyronozed block?

Answer Posted / pramod

ofcourse you can call thread.sleep in synchronized
block,when we call means when there is a possibility of
loop inside the synchronized block.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is meant by abstract class?

1185


What is a values collection view ?

1152


Name four container classes.

1048


How objects of a class are created if no constructor is defined in the class?

1126


How do you check if two strings are equal in java?

1053


What type of variable is gender?

1044


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

2046


What is the relationship between clipping and repainting under awt?

1196


Explain the difference between static and dynamic binding in java?

1117


Can sleep() method causes another thread to sleep?

1079


What is the purpose of assert keyword used in jdk1.4.x?

1131


Explain exception chaining in java?

1225


Java Compiler is stored in JDK, JRE or JVM?

1570


How does hashset work in java?

1181


Explain what pure virtual function is?

1073