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
How many bytes is a string in java?
What is a list in java?
What is the difference between a switch statement and an if statement?
How do you stop a thread in java?
Can we override final method?
What do you mean by boolean?
What are functions in java?
What happens when main () method is declared as private?
Why is java so popular?
What is a generic code?
What is navigable map in java?
What do you mean by an interface in java?
Is it possible for yielded thread to get chance for its execution again ?
How do singleton patterns work?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?