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
How can I debug the Java security exceptions and AccessControlExceptions?
What does a method signature consist of?
Tell me about your ability to work under pressure
Why map is used in java?
Implement two stacks using a single array.
What is the byte range?
If I only change the return type, does the method become overloaded?
Why is java so popular?
What is the access scope of a protected method?
Can a private method of a superclass be declared within a subclass?
What are nested classes in java?
What type of value does sizeof return?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
How to sort a collection of custom Objects in Java?
What are the types of collections in java?