JAVA Constructors and Methods public class Test { }What is the prototype of the default constructor? Test( ) None of these public Test(void) Test(void) public Test( ) Test( ) None of these public Test(void) Test(void) public Test( ) ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods The finalize() method is called just prior to An object, variable or method goes out of scope. Before garbage collection. A variable goes out of scope. None of these An object or variable goes out of scope. An object, variable or method goes out of scope. Before garbage collection. A variable goes out of scope. None of these An object or variable goes out of scope. ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods Which of the modifier can't be used for constructors? static protected public private static protected public private ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods The variables declared in a class for the use of all methods of the class are called instance variables objects None of these reference variables instance variables objects None of these reference variables ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods The implicit return type of a constructor is None of these A class object in which it is defined. There is no return type. void None of these A class object in which it is defined. There is no return type. void ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods What will be the return type of a method that not returns any value? int double None of these void int double None of these void ANSWER DOWNLOAD EXAMIANS APP