欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

多项选择题

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) {}

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题