JNI Interview Questions and Answers

Native Interface - JNI is the mechanism used to invoke methods written in languages such as c and C++..
JNI advantages - Using JNI, we can access c and c++ code which adds performance boost to JAVA..
JNI exceptions are handled by using the following: Throw( ) Throws an existing exception object. Used in native methods to rethrow an exception..
JNI stands for Java Native Interface...
JNI functions are those which are used by the developers to interact with JVM within a native method....
JNI exceptions can be handled by using C++ exception handling. Using throw and catch blocks of C++ and invoking those methods through JNI is one of the solutions...
Developers can take the advantage of Java platform. Legacy code investments need not be abandoned, Interoperability issues can be addressed..