-
What is the significance of wait() method ?
What is the significance of wait() method with respect to Object class, not in Thread class?
-
-
-
-
-
-
In Java, all class objects need not be dynamically allocated
A) TrueB) False
-
The new operator dynamically allocates memory for an object
A) TrueB) False
-
A paramter is a variable defined by a method that receives a value when the method is called.
A) TrueB) FalseExplanation: A argument is a variable defined by a method that receives a value when the method is called.
-
-
-
Static and Non-Static are the two types of nested classes
A) TrueB) False
-
-
-
-
-
-
In this example class-var = new classname( ); The class name followed by parentheses specifies the _________ for the class
A) VariablesB) ConstructorC) ObjectsD) Memory
-
-
Java Classes Questions
Ans