Friday, 19 June 2009

Java Certification Question 0009

Which of the following are methods of the Runnable interface
1) run
2) start
3) yield
4) stop


Answer :
1) The Runnable interface has only one method run that needs to be created in any class that implements it. The start method is used to actually call and start the run method executing.

No comments: