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
what is meant by abstract class?
What is a values collection view ?
Name four container classes.
How objects of a class are created if no constructor is defined in the class?
How do you check if two strings are equal in java?
What type of variable is gender?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is the relationship between clipping and repainting under awt?
Explain the difference between static and dynamic binding in java?
Can sleep() method causes another thread to sleep?
What is the purpose of assert keyword used in jdk1.4.x?
Explain exception chaining in java?
Java Compiler is stored in JDK, JRE or JVM?
How does hashset work in java?
Explain what pure virtual function is?