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
Can we create our own wrapper class in java?
What is intern method in java?
What is finalize()? Is finalize() similar to a destructor?
What is abstract class? Explain
Can an interface have a class?
What are the features of junit?
Can we inherit inner class?
What is the purpose of format function?
What are encapsulation, inheritance and polymorphism?
How many bytes is a url?
Which package is used for pattern matching with regular expressions?
What is the difference between delete and delete[]
What is the use of http-tunneling in rmi?
What are "methods" and "fields"?
Can you tell me range of byte?