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 disadvantage of java?

0 Answers  


Can size_t be negative?

0 Answers  


What is the old name of java?

0 Answers  


How to change the priority of thread or how to set priority of thread?

0 Answers  


What are the benefits of java?

0 Answers  


What is remote method invocation (rmi)?

0 Answers  


Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?

2 Answers   ADP,


Can a method inside a interface be declared as final?

0 Answers  


What are the different ways of creating thread?

0 Answers  


Discuss 2D arrays.

0 Answers   Amdocs,


Need 2+ yrs experienced java techinical question papaer for company Iflex

1 Answers   TCS,


What is difference between “==” and equals()?

1 Answers   IBM,


Categories