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 are the features of junit?

0 Answers  


Explain about data types?

0 Answers  


Differentiate jar and war files?

0 Answers  


What is hash code collision?

0 Answers  


Explain about fail safe iterators in java?

0 Answers  






I don’t want my class to be inherited by any other class. What should I do?

0 Answers  


What is the collections api in java programming?

0 Answers  


How do you write methodology?

0 Answers  


Difference between nested and inner classes ?

0 Answers  


What is instance means in java?

0 Answers  


How many types of parsers are there?

0 Answers  


How to make a write-only class in java?

0 Answers  


Categories