What is mean by a Thread ?

What is mean by a Thread ?

Thread is a light weight process.

The Java Virtual Machine allows an application to have multiple threads of execution running concurrently

Every thread has a priority from one to ten.

 Threads with higher priority are executed in preference to threads with lower priority. Java provides two ways to create the Thread: * Extending the Thread class * Implementing the Runnable interface.


By:Jalees
Date:2012-01-09 00:00:00

Thread is a light weight process.

The Java Virtual Machine allows an application to have multiple threads of execution running concurrently

Every thread has a priority from one to ten.

 Threads with higher priority are executed in preference to threads with lower priority. Java provides two ways to create the Thread: * Extending the Thread class * Implementing the Runnable interface.


By:Sumit Tripathi
Date:2019-05-15 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher