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 we override constructors in java?
Tell us something about set interface.
What is anti pattern in java?
What is a conditional statement explain with example?
Why do we create public static method in java?
What is regex used for?
Define an enumeration?
What is java util list?
Define iterator and methods in iterator?
What is garbage collection? What is the process that is responsible for doing that in java?
What is java jit compilers?
What is string in java with example?
What are the concepts of 'OOPS'?
What is the use of using enum to declare a constant?
What is a Presistent Object?