Solved

Which of the Following Does Not Create an Object That

Question 7

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) I
B) 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