public Sample() { d = new Demo1(); d.fun1(); d.fun2(); }
public Demo2() { d = new Demo1(); d.fun1(); d.fun2(); }