Select 1 option:
A. Class Abstract1 will not compile
B. Classes will compile, but will fail at runtime as Concrete1 is an abstract class
C. Class will compile, run and print "I am an abstract class"
D. Class will compile, run and print nothing
Answer:A
Select 1 option:
A. Class Abstract1 will not compile B. Classes will compile, but will fail at runtime as Concrete1 is an abstract class C. Class will compile, run and print "I am an abstract class" D. Class will compile, run and print nothing
Explanation: You cannot use abstract along with static. Abstract methods need to be overriden. Though static methods are inherited, they cannot be overriden.