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
答案解析:有
微信扫一扫手机做题