NTU-OOP-Tuts-2025-1/T5Q2-A-Sol2/src/ClassF.java

9 lines
198 B
Java

public class ClassF extends ClassE {
public void print(int x) {
System.out.println(x);
}
public void print(String x, String y) {
System.out.println(x + " " + y);
}
}