public class Test{
public static void main(String[] arg) {
A a = new B();
System.out.println(a.sum(10,20));
System.out.println(a.sub(20,10));
System.out.println("---------------------");
public class Test{
public static void main(String[] arg) {
A a = new B();
System.out.println(a.sum(10,20));
System.out.println(a.sub(20,10));
System.out.println("---------------------");