Category: Java Thread Concepts

A thread is a thread of execution in a program. The Java Virtual Machine allows an application to have multiple threads of execution running concurrently.

What is difference between wait and sleep methods?

Java Thread Life Cycle

What is difference between wait and sleep methods? In the java interview, frequently asking is What is difference between wait and sleep methods? Let’s understand main differences between wait and sleep methods in the Thread class in this article. Differences between wait and sleep sleep(): is a static method and It sends current running thread […]