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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment