can u override the start() method of Thread class

Answer Posted / vishwanath

We can override start() method but it is not recommended.
Why because...the start() method of Thread class first
registers a new thread with the Thread Scheduler and it
invokes run() method.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the collection interface?

582


Explain creating threads by extending thread class ?

572


Is hashset sorted in java?

656


What is the name of the java compiler?

512


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

1825






What is boolean law?

508


why java uses class level type casting ?

2246


Is alive and join method in java?

531


In how many ways we can create threads in java?

625


Can you call a method in a method?

524


What are the parts of a method?

531


What is the difference between synchronized and synchronized block?

496


How will you add panel to a frame?

640


What are the types of methods in java?

571


How do you override a method in java?

529