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


Please Help Members By Posting Answers For Below Questions

Explain the difference between call by refrence and call by value?

663


What is the arraylist in java?

623


How many functional interfaces does java 8 have?

692


What is the use of arraylist class in java?

644


How many types of literals are there in JAVA?

664






How many bits is a char?

620


What is use of set in java?

588


what is the use of bean managed and container managed with example?

1592


How many decimal places is a double?

633


Is void a type?

660


Can you explain the final method modifier?

670


Can variables be used in java without initialization?

642


Can java list contain duplicates?

662


Why is whitespace important?

658


What is mutable object and immutable object?

735