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
Can we declare array without size in java?
Distinguish between a predicate and a function?
Define nashorn in java8.
What is package protected in java?
What is the difference between @before and @beforeclass annotation?
Why use string handling in Java?
Wha is the output from system.out.println(“hello”+null); ?
What is class forname used for?
Why java is used everywhere?
What is the difference between array and array list in java?
Write the algorithm to check the number non-leaf nodes in a tree.
What is a short in java?
What is the meaning of variables in research?
What is meant by null and void?
How does hashset works in java?