Constructors And Methods - Study Mode

[#66] What is the return type of Constructors?
Correct Answer

(D) none of the mentioned

[#67] Which of the following has the highest memory requirement?
Correct Answer

(C) JVM

[#68] What will be the output of the following Java code? class A
{
A()throws IOException
{

}

}
class B extends A
{
B()
{

}
public static void main(String[]args)
{

}
}
Correct Answer

(A) compile time error

[#69] Abstract class cannot have a constructor.
Correct Answer

(B) False

[#70] Which of the following is not OOPS concept in Java?
Correct Answer

(D) Compilation