Answers

Question and Answer:

  Home  Java JNI

⟩ Explain the advantages and disadvantages of using JNI?

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.

 161 views

More Questions for you: