多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

Which will declare a method that is available to all members of the same package and can be referenced without an instance of the class?()  

  • A、 Abstract public void methoda();
  • B、 Public abstract double methoda();
  • C、 Static void methoda(double d1){}
  • D、 Public native double methoda()  {}
  • E、 Protected void methoda(double d1)  {}
正确答案:C
答案解析:
进入题库查看解析

微信扫一扫手机做题