Explain the advantages and disadvantages of using JNI?

Submitted by: Administrator
Advantages of JNI

Using JNI, we can access c and c++ code which adds performance boost to JAVA.
JNI allows JAVA to access some hardware features using other languages like c and c++.

Disadvantages of JNI

JNI uses native languages which mean it has portability issue.
Code debug is big problem for the developers who use JNI features in JAVA.
Submitted by: Administrator

Read Online Java JNI Job Interview Questions And Answers