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
What is the collection interface?
Explain creating threads by extending thread class ?
Is hashset sorted in java?
What is the name of the java compiler?
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?
What is boolean law?
why java uses class level type casting ?
Is alive and join method in java?
In how many ways we can create threads in java?
Can you call a method in a method?
What are the parts of a method?
What is the difference between synchronized and synchronized block?
How will you add panel to a frame?
What are the types of methods in java?
How do you override a method in java?