- A Program will compile and execute successfully and prints
- B Compilation error as class can not be declared as abstract.
- C Program compiles but leads to runtime exception.
- D Compilation error occurs as the abstract class TestAbstract contains a non-abstract method.
- Share this MCQ
Answer:
A
Share this MCQ
Program will compile and execute successfully and prints
Click me to Read more Question & Answer of Java Interfaces And Abstract Classes MCQShare this MCQ