Let's test your knowledge. Fill in the missing part by typing it in.
You have code like below:
TEXT/X-JAVA
1public class A {
2 public String a() {
3 // impl
4 }
5}
6public class B extends A {
7 public String a() {
8 // impl
9 }
10}
11public class C extends B {
12 public String a() {
13 // impl
14 }
15}
How can you call the method a
of class A
from class C
?
Let the instance of C
be called c
.
Write the missing line below.