black

登录

单项选择题

为使下列代码正常运行,应该在下划线处填入的选项是()  abstract class Person{  public Person(String n)!  name=n;  }  public____String getDescription();  public String getName(){  return name;  }  private String name;  }

A.static
B.private
C.abstract
D.final

相关考题

单项选择题 下列代码将对象写入的设备是()  ByteArrayOutputStreambout=new ByteArrayOutputStream();  ObjectOutputStream out=new ObjectoutputStream(bout);  out.writeObject(this);  out .close();

单项选择题 为使下列代码正常运行,应该在下划线处填入的选项是()  ObjectInputStream in=  new_____(new FileInputStream(“employee . dat”));  Employee[]newStaff=(Employee[〕)in.readObject();  in .cIose();

单项选择题 Java程序默认引用的包是()

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064