对下面父类方法重写正确的是()
A、 public int method (int a , int b){……}
B、 private int method (int a , int b){……}
C、 protected void method (int a , int b){……}
D、 以上答案都不正确
有疑问?点此联系我们
收藏该题
查看答案
对下面父类方法重写正确的是()
A、 public int method (int a , int b){……}
B、 private int method (int a , int b){……}
C、 protected void method (int a , int b){……}
D、 以上答案都不正确
如果一个类必须继承另一个非Thread类,此时要实现多线程只能()方式。
A、通过创建Process类的子类来实现
B、通过创建Thread类的子类来实现
C、通过实现Runnable接口的类来实现
D、通过实现RunTime接口的类来实现
ServerSocket的监听方法accept()的返回值类型是()
A、void
B、Object
C、Socket
D、DatagramSocket
在定义一个类的时候,如果类的成员被private所修饰,该成员不能在类的外部被直接访问
A、对
B、错
下面()组件把用户的输入当整数类型存储。
A、JTextArea
B、JButton
C、JTextField
D、都不是
JNDI结构包含的三个层次主要是()
A、应用层
B、JNDIAPI层
C、实现层
D、数据层