Explain about wait() method?
Answer / Damodar
"The wait() method in Java is used by a thread to pause its execution for a specified amount of time or until it's notified. It releases the lock on an object and allows other threads to execute."
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the supported platforms by java programming language?
How to create an interface?
What is the use of jtable?
How infinite loop is declared?
Can we print null in java?
Can we write a class without main method in java?
What is the arguement of main method?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
Why all programming languages have main as a execution starting point?
How many types of variables are there?
Explain the differences between static and dynamic variables?
How do you use, call, and access a non-static method in Java?