摘要:
代码: public class Tset4$ { public int add(int x,int y){ return x +y; } public double add(int x, double y){ return x + y; } public int add(int x, int y, 阅读全文
摘要:
接上期创建的类 对象的创建和使用代码: //对象的创建和使用public class Tset4$ { public static void main(String[] agrs){// //实例化person类,也就是创建person对象// person person = new person( 阅读全文