A thread is a
thread of execution in a program. We can execute more than one threads
concurrently to utilize the cpu efficiently.
The JVM allows an application to
have multiple threads of execution running concurrently.
When
a JVM starts up, there is usually a single thread (which typically calls the method named main of some designated class).
No comments:
Post a Comment