NTU-OOP-Tuts-2024/T5Q2-B-FromSol1/src/ClassB.java

6 lines
107 B
Java
Raw Permalink Normal View History

2024-10-17 11:51:59 +08:00
public class ClassB extends ClassA {
public void print(int x) {
System.out.println(x);
}
}