题目:以下程序的输出结果是什么?publicclassPerson {String name;intage;publicPerson(String name, intage) {this.name= name;this.age= age;}publicstaticvoidmain(String[] args) {Person c = newPerson("Peter", 17);System.out.println(c.name+ " is "+ c.age+ " years old!");}}
答案:
<查看本题扣3积分>
Peteris17yeasold!..... 查看答案
问题答案不对?抱歉,搜索引擎优化导致页面变化,请尝试站内搜索,远程教育试题库