Is it possible to execute different threads in a user defined sequence in Java?
Correct Answer: It's possible using the "notify" method.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
What is the numerical range of a char?
Output of the following code? public double beraknaOmkrets() { DecimalFormat f = new DecimalFormat('##.0'); intradie = 3; double omkrets = 0; omkrets = radie*2*3.14; return f.format(omkrets).toString; }
Which is a proper way to declare and throw exception of class XYException?
Correct way to make the Jframevisiable always on top of other windows ?
Output of the following code? public class Test extends Thread { private int value; public Test(int value) { this.value = value; } public static void main(String[] args) { Test t1 = new Test(1); Test t2 = new Test(2); Test t3 = new Test(3); t1.start(); t2.start(); t3.start(); } @Override public void run() { for (inti = 0; i< 3; i++) { System.out.println('Thread ' + value + ' with value ' + i + ' Started'); try { sleep(100); } catch (InterruptedException ex) { Logger.getLogger(Test.class.getName()).log(Level.SEVERE, null, ex); } System.out.println('Thread ' + value + ' with value '+ i + ' Completed'); } } }
What is the immediate super class of Applet class?
The java.applet.Applet class 4 life cycle methods and java.awt.Component class provides how many life cycle methods for an applet?
Which is the correct order for lifecycle of an applet?
Java.applet defines how many interfaces?
To determine the width and height of an application, which of the following method is used?