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 the difference between method and means?
What is the final blank variable?
Explain treeset?
What does java ide mean?
Explain hashset and its features?
How would you convert bytes to string?
Will the jvm load the package twice at runtime?
What is the difference between multitasking and multithreading in Java
what is the constructor and how many types of constructors are used in java?
What is widening and narrowing in java? Discuss with an example.
What is the intersection and union methods?
What is default switch case? Give example.
What is the relationship between class and object?
Why we go for collections in java?
Why java is called not pure object oriented language?