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 does ide stand for?
What is the concatenation operator in java?
What is java util function?
I don’t want my class to be inherited by any other class. What should I do?
What is the difference between abstraction and encapsulation?
How many ways can you break a singleton class in java?
Can an interface implement another interface?
what do you understand by synchronization? : Java thread
Enlist few advantages of inheritance?
How do you remove duplicates from an array in java?
What is r in java?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
Give me example of derived data types.
How many unicode characters are there?
How do you read and print a string in java?