Q23
What is the result of the following code snippet?abstract class MyAbstract MyAbstract() System.out.println("Constructor"); class MyClass extends MyAbstract public static void main(String[] args) MyClass obj = new MyClass();
A.
MyClass
B.
Runtime exception
C.
Constructor
AnswerD.
Compilation error
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board