MCQ Academy - English

Free Online MCQ Practice Tests in English

Latest Quizzes

No subject

Which of the following is least like the others ?

Correct answer(s):
  • Circle

Assume the following method is properly synchronized and called from a thread A on an object B:

wait(2000);

After calling this method, when will the thread A become a candidate to get another turn at the CPU?

Correct answer(s):
  • After thread A is notified, or after two seconds.

What allows the programmer to destroy an object x ?

Correct answer(s):
  • Only the garbage collection system can destroy an object.