-->
当前位置:首页 > 题库

单选题:Why might you define a method as native?

Luz5年前 (2021-05-10)题库683
Why might you define a method as native? @[A](2)

A. To get to access hardware that Java does not know about
B. To define a new data type such as an unsigned integer
C. To write optimized code for performance in a language such as C/C++
D. To overcome the limitation of the private scope of a method




A.To get to access hardware that Java does not know about
B.To define a new data type such as an unsigned integer
C.To write optimized code for performance in a language such as C/C++
D.To overcome the limitation of the private scope of a method


答案:A