MCQ Academy - English
Free Online MCQ Practice Tests in English
Popular Quiz Papers
Latest Quizzes
Which method registers a thread in a thread scheduler?
start();
Which will contain the body of the thread?
run();
Which method must be defined by a class implementing the java.lang.Runnable interface?
public void run()
Which of the following will directly stop the execution of a Thread?
wait()
Which three guarantee that a thread will leave the running state?
wait()sleep(1000)aLiveThread.join()
Which two of the following methods are defined in class Thread?
start()run()
Which cannot directly cause a thread to stop executing?
- Calling notify() method on an object.
Which three are methods of the Object class?
notify();notifyAll();wait(long msecs);
Which two are valid constructors for Thread?
Thread(Runnable r, String name)Thread()
What is the name of the method used to start a thread execution?
start();
What allows the programmer to destroy an object x ?
- Only the garbage collection system can destroy an object.
Under an agreement with which of the following countries did Subhas Chandra Bose organize the Indian soldiers, taken as prisoners by the Axis Powers, into the Azad Hind Fauj?
- Japan
The Vijayanagara ruler, Kirshnadev Raya’s work Amuktamalyada, was in – ?
- Telugu
The system of competitive examination for civil service was accepted in principle in the year
- 1853
The treaty of Srirangapatna was signed between Tipu Sultan and -?
- Cornwallis
The theory of economic drain of India during British imperialism was propounded by
- Dadabhai Naoroji
What is the capital city of Sri Lanka?
- Sri Jayawardenepura Kotte (Administrative) & Colombo (Commercial)
What is the capital city of Pakistan?
- Islamabad
What is the capital city of india?
- New Delhi
My brother ___ at university for the last two years.
- has been
