What is "Java Native Interface" and how to use it?



What is "Java Native Interface" and how to use it?..

Answer / shilpi agarwal

The Java Native Interface (JNI) is the native programming
interface for Java that is part of the JDK. By writing
programs using the JNI, you ensure that your code is
completely portable across all platforms. It allows Java
code that runs within a Java Virtual Machine (VM) to
operate with applications and libraries written in other
languages, such as C, C++, and assembly.

Is This Answer Correct ?    20 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the benefit of abstract class?

0 Answers  


What is I/O Filter?

2 Answers   TCS, WAX,


Why is singleton class used?

0 Answers  


Are constructors methods?

0 Answers  


When should the method invokelater() be used?

0 Answers  






what is the difference between cd & dvd ?

30 Answers   Lovely Professional University, Satyam, Sibylsys,


Is java util list serializable?

0 Answers  


What is cloneable interface?

8 Answers  


How do you declare an empty string?

0 Answers  


How objects are stored in java?

0 Answers  


How to do encapsulation in java?

0 Answers  


What is string in java with example?

0 Answers  


Categories