What is "Java Native Interface" and how to use it?
Answer Posted / 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 View All Answers
What are the 8 primitive data types in java?
What is charat java?
What are methods?
How many types of operators are there?
In how many ways we can create threads in java?
How to sort an unsorted array in java?
What are the files generated after using IDL to java compiler?
Define class?
What is a memory leak in java?
how to handle exceptions in ejb?
State the merge-sort principle and its time complexity.
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What are the steps in the jdbc connection?
What is multi-catch block in java?
What is use of set in java?