public class MAL { String name; int age; public MAL(){ this.name=name; this.age=age; } public static void main(String[] args){ MAL m=new MAL(); m.name="kkk"; m.age=5; }}
3 回答
5400
TA贡献1条经验 获得超0个赞
输出结果是这个
C:\Users\许毅\java\jdk-9\bin\java "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.2.6\lib\idea_rt.jar=63235:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.2.6\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\许毅\IdeaProjects\kaka\out\production\kaka MAL
Process finished with exit code 0
添加回答
举报
0/150
提交
取消