In which class is the notify method defined?
Correct Answer: Object
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
Which is the methods of the Thread class?
What happens on attempting to compile and run the following code? public class Graft { public static void main(String argv[]) { Graft g = new Graft(); } protected Graft() { for(int i =0; i <10; i ++) { System.out.println(i); } } }
What would happen on compiling and running the following code? public class Anchor { public static void main(String[] argv) { new Anchor(); } public Anchor() { String s[][] = new String[2][2]; System.out.println(s[1][1]); System.out.println(s[1][2]); } }
Output when this code is compiled and run? public class Test { public Test () { Bar b = new Bar (); Bar b1 = new Bar (); update (b); update (b1); b1 = b; update (b); update (b1); } private void update (Bar bar) { bar.x = 20; System.out.println (bar.x); } public static void main (String args[]) { new Test (); } private class Bar { int x = 10; } }
Output of the following line? System.out.println(Math.floor(-2.1));
Java, c#, and vb.net are examples of ________.
Java uses class ________ to represent colors using their rgb values.
Java contains a class named ____ that allows you to produce dialog boxes.
Java ________ can run from a web browser.
It is important that the loop control ____ be altered within the body of the loop.