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 aggregation in java?

0 Answers   IBS,


What are 3 data types?

0 Answers  


Is string a datatype?

0 Answers  


Is boolean a wrapper class in java?

0 Answers  


How will you add panel to a frame?

0 Answers  






What is the difference between class forname and new?

0 Answers  


how can we import the user defined package without classpath?

1 Answers   CSC, Infosys,


When we serialize an object does the serialization mechanism saves its references too?

0 Answers  


What is the += operator called?

0 Answers  


What is Collections API?

1 Answers  


when to use abstract class and when to use interface?

16 Answers   Exterro, iGate, IonIdea,


What is natural ordering in java?

0 Answers  


Categories