【Java每日一题】20161018
发布时间:2016-10-18 15:55:20
20161017问题解析请点击今日问题下方的“【Java每日一题】20161018”查看package Oct2016; public class Ques1018 { public static void main(String[] args){ Obj obj ...
20161017问题解析请点击今日问题下方的“【Java每日一题】20161018”查看
package Oct2016; public class Ques1018 { public static void main(String[] args){ Obj obj01 = new Obj("18"); Obj obj02 = new Obj("19"); obj01.printAge(obj02); } } class Obj{ private String age; public Obj(String age){ this.age = age; } public void printAge(Obj obj){ String age = obj.age; System.out.println("年龄是:" + age); } }
原标题:【Java每日一题】20161018
关键词:JAVA
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。
捷安特770d:https://www.vstour.cn/t/捷安特770d.html
捷程:https://www.vstour.cn/t/捷程.html
捷程旅行网:https://www.vstour.cn/t/捷程旅行网.html
捷程网:https://www.vstour.cn/t/捷程网.html
捷达假期:https://www.vstour.cn/t/捷达假期.html
捷克6月旅游:https://www.vstour.cn/t/捷克6月旅游.html
珠海长隆横琴剧院在哪里?附禁带物品:https://www.vstour.cn/a/334173.html
珠海长隆横琴剧院坐公交怎么去:https://www.vstour.cn/a/334174.html