Update C.java
This commit is contained in:
parent
662b668321
commit
f8f69fee46
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
public class C extends B {
|
public class C extends B {
|
||||||
private int dataC;
|
private int dataC;
|
||||||
|
|
||||||
|
@ -12,7 +11,7 @@ public class C extends B {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void f() {
|
public void f() {
|
||||||
System.out.println("method f() from class B is being called");
|
System.out.println("method f() from class C is being called");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue