PrepAway - Latest Free Exam Questions & Answers

Which of these is the incorrect explanation of the Java Native Interface(JNI)?

Which of these is the incorrect explanation of the Java Native Interface(JNI)?

PrepAway - Latest Free Exam Questions & Answers

A.
JNI does not provide garbage collection on the native side, outside the memory resources of
the Java Virtual Machine.

B.
Even if native code is used with JNI, it does not necessarily mean an improvement in the
application processing speed.

C.
A Java exception can be generated from a native method, but it cannot be caught on the Java
side.

D.
Header files generated on the Java side are included and implemented in the native (C/C++)
side source code.

Explanation:

One Comment on “Which of these is the incorrect explanation of the Java Native Interface(JNI)?


Leave a Reply

Your email address will not be published. Required fields are marked *