Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Originally posted by Kedar Dravid:
Prints : MyThread: start() followed by MyRunnable:run()
Hope this helps![]()
SCJA, SCJP5.0, SCBCD, SCWCD
SCJA, SCJP5.0, SCBCD, SCWCD
Originally posted by reubin nibuer:
One more question, under this situation, 'In the first class, I have overridden the start() method without a call to super.start().' -- would this create a new thread or 'MyThread: start()' is printed by main thread?
SCJA, SCJP5.0, SCBCD, SCWCD
SCJA, SCJP5.0, SCBCD, SCWCD