试题详情
多项选择题 Which lines of code are valid declarations of a native method when occurring within the declaration of the following class?()    public class Qf575 {   // insert declaration of a native method here   }  

A、native public void setTemperature(int kelvin);

B、private native void setTemperature(int kelvin);

C、protected int native getTemperature();

D、public abstract native void setTemperature(int kelvin);

E、native int setTemperature(int kelvin) {}

  • A,B
  • 关注下方微信公众号,在线模考后查看

热门试题