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
Explain the difference between abstraction and encapsulation.
What are the access modifiers available in java?
Why do people says “java is robust”?
What is linked hashmap and its features?
Explain all java features with real time examples
Does java allow overriding static methods ?
Which class is the superclass for all the classes?
What is a subsequence of a string?
What is data structure in java?
What is the purpose of sizeof operator?
What mechanism does java use for memory management?
What does jre stand for?
What is variable declaration and definition?
Explain how can you debug the Java code?
Is the empty set a singleton?