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 a constructor call the constructor of parent class?
How do you trim a space in java?
How can I become a good programmer?
Is arraylist sorted in java?
What is constructor chaining in java?
How do you sort an array in java?
Can we overload the methods by making them static?
Can final class have constructor?
What is nullpointerexception?
Is final static java?
What is the purpose of the strictfp keyword?
What do you mean by local variable and instance variable?
What is jit compiler in java?
What is use of super keyword in java?
What is a parameter in matrices?