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 a nested class?

1098


What are different types of inner classes ?

1028


Why can't you declare a class as protected?

1115


Is string passed by reference in java?

981


What is hashing in java?

1023


Can we use this () and super () in a method?

962


What is the disadvantage of synchronization?

991


Why map is used in java?

1014


How do you compare two objects?

916


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

1153


How to reverse string in java?

1178


What value is a variable of the string type automatically initialized?

1100


What is the indent key?

1018


What is the benefit of using enum to declare a constant?

1085


What is the main purpose of java?

1076