What is "Java Native Interface" and how to use it?
Answer / 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 |
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What language is java written?
What is parameter tag and what is its use?
How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ?
How do you override a method in java?
what are the uses of Class class and what it returns? explain it with the example code.
INTERVIEW QUESTION FOR ANDROID
What is operator overloading. Is it is supported in java?
Is there any use of an abstract class which has no methods and no attributes?
What are the new features in java 8?
who can we create the object of a class? in how many ways we can create it (max 5)
why marker interfaces are there in java