Solved

Suppose Run1 and Run2 Are Objects of the Class MyRunnable

Question 3

Multiple Choice

Suppose run1 and run2 are objects of the class MyRunnable, which implements the Runnable interface.What is the result of the following calls?
run1.run() ;
run2.run() ;


A) run1 and run2 execute as independent threads.
B) Syntax error
C) Only run1 executes as an independent thread.
D) run1 and run2 run sequentially, not as independent threads.

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents