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 / ravikiran

Yes we can call,And should be enclosed between try catch
blocks beacause Interupted exception may be thrown.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is finally and finalize in java?

1158


Can a class extend 2 classes in java?

1096


Is a class an object?

1076


Difference between character constant and string constant in java ?

1061


How do you add an arraylist to an array in java?

1031


Can vector have duplicates in java?

995


What are different data structures in java?

1088


What is contract between hashcode and equal method?

1100


What is exception in java?

1167


What is t in generics in java?

1137


What is constructor and its types?

1213


What does I ++ mean?

1119


What is the purpose of a volatile variable?

1107


What are the types of literals?

1271


What is the symbol for line break?

1163