当前位置: X题卡 > 所有题目 > 题目详情

给出下面不完整的类代码,则横线处的语句应该为( )。 class Person { String name,department; int age; public Person ...

查看本题答案

你可能感兴趣的试题

public void method()  public void method()throws Exception  public void method()throw TimedOutException  publicthrowTimedOutExceptionvoidmethod()  
Person(n,;  this(Person(n,);  this(n,;  this(name,ag;  
Person(n,a);  this(Person(n,a) );  this(n,a);  this(name,age);  
Person(n,;  this(Person(n, );  this(n,;  this(name,ag;  
Person(n,a);  this(Person(n,a));  this(n,a);  this(name,age);  
Person(n,;  this(Person(n,);  this(n,;  this(name,ag;  
Ⅱ、Ⅲ、Ⅳ  Ⅱ、Ⅲ、Ⅳ  Ⅰ、Ⅲ  Ⅰ、Ⅳ  
Person(n,a);  this(Person(n,a));  this(n,a);  this(name,age);  
Person(n,a);  this(Person(n,a));  this(n,s);  this(name,age);  

热门试题

更多