Beruflich Dokumente
Kultur Dokumente
Started on
Friday, 20 March 2020, 12:20 PM
State
Finished
Completed on
Friday, 20 March 2020, 12:21 PM
Time taken
40 secs
Marks
4.00/4.00
Grade
100.00 out of 100.00
Correct
{
}
Correct
a. run()
b. notify()
c. wait()
d. start()
e. terminate()
Your answer is correct.
Correct
Cthread(){
start();
System.out.print("Hi");
Select one:
d. compilation error
The correct answer is: will create two child threads and display Hi twice
Question 4
Correct
Select one:
a. lock
b. Synchronized
c. Final
d. Static
Privacy Policy
Powered by TEKSTAC