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 difference between hashset and treeset in java?

0 Answers  


What is the collection interface?

0 Answers  


How to connect to a remote database using Applet?

0 Answers  


How to create packages in java?

0 Answers  


Difference between nested and inner classes ?

0 Answers  






What is the difference between equals() and?

0 Answers  


Explain scope or life time of local variables in java?

0 Answers  


what are literals in java?

2 Answers  


What is singletonlist in java?

0 Answers  


What is binary tree in java?

0 Answers  


What is Collections API?

1 Answers  


How many bytes is a char in java?

0 Answers  


Categories