publicinterfacecontrol{publicvoidstu(Stringname,intage);}publicclassimliementimplementscontrol{Stringname;intage;publicvoidsetname(Stringm){name=m;}publicvoidsetage(intk){age=k;}publicvoidstu(Stringname,intage){System.out.println(name+"is"+age+"old"...
查看全文