previous
|
start
|
next
Self Check
What happens if you change the call to the
sleep
method in the
run
method to
Thread.sleep(1)
?
What would be the result of the program if the
main
method called
r1.run(); r2.run();
instead of starting threads?
previous
|
start
|
next