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 is a "pure virtual" member function?
What is lambda programming?
Can we write a class without main method in java?
What is java reflection?
How do you use parseint in java?
What is variable explain with example?
What is a boolean used for?
Why are constructors used?
What is map java?
What is meant by vector class, dictionary class, hash table class, and property class?
What is the difference between static (class) method and instance method?
What is a treemap in java?
What is the difference between sleep and wait in java?
Can a method inside a interface be declared as final?
What are the types of sockets in java?