Saturday, 15 August 2009

Java Certification Question 0065

Why might you define a method as native?

1) To get to access hardware that Java does not know about
2) To define a new data type such as an unsigned integer
3) To write optimised code for performance in a language such as C/C++
4) To overcome the limitation of the private scope of a method




Answers:

1) To get to access hardware that Java does not know about
3) To write optimised code for performance in a language such as C/C++

No comments:

Post a Comment