Java Concurrency interview questions

Java Concurrency interview questions

Take as many assements as you can to improve your validate your skill rating

Total Questions: 5

1. When we start up the JVM what kind of thread is created?

Correct Answer is : A user thread

2. Which of the following methods releases an object's lock?

Correct Answer is : wait()

3. How does a thread know which run() method to call?

Correct Answer is : By the constructor

4. How can we find out which thread is active in the run() method at any given time?

Correct Answer is : Using the static currentThread() method

5. What should we do with the run() method of the Runnable interface?

Correct Answer is : override it

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon