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

Can we declare array without size in java?

1039


Distinguish between a predicate and a function?

988


Define nashorn in java8.

1042


What is package protected in java?

989


What is the difference between @before and @beforeclass annotation?

1107


Why use string handling in Java?

1030


Wha is the output from system.out.println(“hello”+null); ?

1145


What is class forname used for?

1051


Why java is used everywhere?

1010


What is the difference between array and array list in java?

1232


Write the algorithm to check the number non-leaf nodes in a tree.

1077


What is a short in java?

1048


What is the meaning of variables in research?

1034


What is meant by null and void?

973


How does hashset works in java?

1093