Answer Posted / subhareddy
we can override start() method present in Thread class.but
we have to follow following steps:
1) first our class must extend thread class.
2)then we have to override thread class start() in such way
that :
a) It should instantiate and register our new thread with
thread scheduler.
b) it should call run() method.(it may be our overridden
run method or thread class run() method)
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
How many types of operators are there?
Write a program to find the greatest of three numbers in java?
Name component subclasses that support painting in java programming?
Can we create constructor in abstract class ?
Differentiate between class and structure.
What is the meaning of nullable?
Is java a pure object oriented language?
How do you reverse sort a list in java?
Why we use multi threading instead of multiprocessing?
Is alive in java?
What are the benefits of java?
What is a classloader in java?
Is null a string or object in java?
What is an accessor?
How can you generate random numbers in java?