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
When should I use singleton pattern?
What is main in java?
What is the meaning of 3 dots in java?
What are the three parts of a lambda expression?
Can we access instance variables within static methods ?
Write a function to print Fibonacci series and Tribonacci series?
What is the difference between the size and capacity of a vector?
What variables are stored in stack?
Can a final variable be null?
What is better- service oriented or batch oriented solutions?
Explain about the interpreter in java?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
Explain public static void main(string args[]).
What is toarray method in java?