Examlex

Solved

Which of the Following Does Not Create an Object That

question 29

Multiple Choice

Which of the following does not create an object that can run in a thread, assuming the following MyRunnable class declaration?
public class MyRunnable implements Runnable { ...}
i.Runnable runnable = new Runnable() ;
II.Runnable runnable = new MyRunnable() ;
III.MyRunnable runnable = new MyRunnable() ;


Definitions:

Related Questions