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

Why chararray() is preferred over string to store the password?

961


What will happen if a thrown exception is not handled?

955


When will you define a method as static in Java?

996


What is charat ()?

893


Difference between default and protected access specifiers?

1030


What is scanner in java?

910


What are loops in java?

1164


Where is singleton pattern used?

935


Explain naming conventions for packages?

957


Can a constructor call another constructor?

924


How do you declare a destructor in java?

931


What is string intern in java?

980


Is zero a positive integer?

991


What is variable in java?

917


What is the difference between a switch statement and an if statement?

1017