Home
Video Series
Fast Math Tricks
Quantitative Aptitude
Class 8 Maths Videos
Class 9 Maths Videos
Class 10 Maths Videos
Reasoning Videos
Blog
Store
Register /Login
Home
Topic
Question
What notifyAll() method do?
Options:
A
.
 None of these
B
.
 Wakes up one threads that are waiting on this object's monitor
C
.
 Wakes up all threads that are waiting on this object's monitor
D
.
 Wakes up all threads that are not waiting on this object's monitor
Answer: Option C
Submit Your Solution Below and Earn Points !
0 Likes
Next Question
Report Problem
Share
Submit Solution
Your email address will not be published.
Required fields are marked
*
More Questions on This Topic :
Question 1.
Which of the following are methods of the Thread class?1) yield()2) sleep(long msec)3) go()4) stop()....
Question 2.
What will happen when you attempt to compile and run the following code?class A implements Runnable{ public void run(){ ....Thread t = new Thread(a);5. System.out.println(t.isAlive());6. t.start();7. System.out.println(t.isAlive());8. }9. }
Question 3.
What will be the output?class A extends Thread{ public void run(){ for(int i=0; i....
Question 4.
What is the output for the below code ?public class Test extends Thread{ public static void main(String argv[]){ Test t ....i++){ System.out.println("Value of i = " + i); } }}
Question 5.
Which keyword when applied on a method indicates that only one thread should execute the method at a time.....
Question 6.
Predict the output:public class Test extends Thread{ private int i; public void run(){ i++; } public static void main(St....Test a = new Test(); a.run(); System.out.print(a.i); a.start(); System.out.print(a.i); }}
Question 7.
What will be the output after compiling and executing the following code?public class Test implements Runnable{ public s....a.start(); System.out.print("Begin"); a.join(); System.out.print("End"); } public void run(){ System.out.print("Run"); }}
Question 8.
What is the output for the below code ?class A implements Runnable{ public void run(){ System.out.println(Thread.current....A();4. Thread t = new Thread(a);5. t.setName("good");6. t.start();7. }8. }
Question 9.
Given the code. What will be the result?public class Test implements Runnable{ public static void main(String[] args) th....a.start(); System.out.print("Begin"); a.join(); System.out.print("End"); } public void run(){ System.out.print("Run"); }}
Question 10.
What will be output of the following program code?public class Test implements Runnable{ public void run(){ System.out.p....Thread t = new Thread(new Test()); t.run(); t.run(); t.start(); }}
Latest Videos
Chapter 1 - GLOBAL STEEL SCENARIO & INDIAN STEEL INDUSTRY
Part 1 : (13-04-2024)
INDUSTRY AND COMPANY AWARENESS (ICA)
Direction Sense Test
Part 1
Reasoning (Hindi)
Chapter 1 - RMHP / OHP / OB & BP
Part 1 : (14-02-2024)
GPOE
Cube & Cuboid
Part 1
Reasoning (Hindi)
Data Interpretation (DI)
Basic Concept
Reasoning (Hindi)
Counting Figures Part 1
Counting Of Straight Lines
Reasoning (Hindi)
Sail E0 free webinar
Webinars
Real Numbers
Part 7
Class 10 Maths
Real Numbers
Part 1
Class 10 Maths
Polynomials
Part 1
Class 10 Maths
Latest Test Papers
Chapter 3.1 : Overview of Finance & Accounts Department
Chapter 3 : Finance & Accounts
SAIL E0 - GFM 2024
Chapter 2.1 : Overview
Chapter 2 : Materials Management
SAIL E0 - GFM 2024
Chapter 1.1 : Personnel Functions- An overview
Chapter 1 : Personnel Management
SAIL E0 - GFM 2024
GPOE / GPA Combined 1
Free CBT Mock Test
SAIL E0 2024
CBT Mixed Test 1
GPOE/GPA
SAIL E0 2024
One click Login
Login With Google
Old way of Login
Login With Email
Submit Problem
Problem Type (Required)
Choose Problem Type
Incorrect Topic
Incomplete Question
Wrong Question
Wrong Solution
Wrong Option
Explaination : Please write a little about the issue
Submit Solution