试题详情
- 多项选择题 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
关注下方微信公众号,在线模考后查看
热门试题
- public interfa
- 用main()创建一个类,令其抛出try
- What is th
- 使用以下哪个类可在GUI中实现按钮功能?
- 25.intx=12; 2
- 输入年份和月份即可打印出当月的日历
- 我国今年的国民生产总值为45600亿元,
- 25.intx=12; 26.whil
- 考虑下面这个简单的例子,让我们看看ref
- A JSP pa
- Which statement
- 假设在目录myprj/src/schoo
- 1. public&ensp
- What is th
- 编写JButton组件的事件处理器类时,
- public class&e
- 写出下面代码的输出
- What is th
- public class&e
- 什么是数组?数组有哪些特点?Java中创