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() ;


A) Only I
B) Only III
C) I and II
D) II and III

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions