Card 8 / 32: class Clidders { public final void flipper() { System.out.println("Clidder"); } } public class Clidlets extends Clidders { public void flipper() { System.out.println("Flip a Clidlet"); super.flipper(); } public static void main(String [] args) { new Clidlets().flipper(); } } What is the result?
A)
Clidder
B)
Flip a Clidlet
C)
RuntimeException
D)
compiles successfully
E)
Compilation fails
Answer:
E) Compilation fails
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|