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
What are heterogeneous objects?
Why can't we override private static methods?
How to create a fecelet view?
can I implement my own start() method? : Java thread
Give a practical example of singleton class usage?
What methodology can be utilized to link to a database?
Can we execute a program without main?
What is the role of the java.rmi.naming class?
Can a source file contain more than one class declaration?
What is string length in java?
Explain method overloading?
What do you understand by the term wrapper classes?
Is there any limitation of using inheritance?
Can a class have multiple subclasses?
What is the default execution method in java?