Answer Posted / pamal janveja
To create User Defined thread, We requires features of thread
and java provide us Thread class.
We simply over right its run method and called this by start method which internally call to run method.
Similarly using other methods of Thread class , we can create,access and delete user defined thread.
Note:- Without Thread class or Runnable interface , We can not create User defined Thread.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can the garbage collection be forced by any means?
What are the special characters?
What are the 5 types of research methods?
How do you remove duplicates in java?
Why should we use singleton pattern instead of static class?
Why is the type for real numbers called double?
Difference between java and javascript
Why we used break and continue statement in java?
Why to use nested classes in java?
What is the purpose of using break in each case of switch statement?
What are some characteristics of interference class?
In how many ways we can do exception handling in java?
How many bits is a string in java?
What is the benefit of lambda expressions?
How do you identify independent and dependent variables?