what is the use/perpose of having a method antive?
Answers were Sorted based on User's Feedback
Answer / imtiyaz
if you want to call a methods which are specific to the
platform or if you want to use the OS calls or if you want
to use functionality which is developed in other language
we go through native interface.
In a real world we need to execute statements which are
specific to platform which java may or may not do, and
other language can do much faster than java at that time we
use to write the methods in that language and use that code.
And sometimes the code already developed in other language
and it is very cost effective or time consuming to convert
the code into java at that moments also we use java native
interface.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikiran
native method is used to call the methods declared in a
platform dependent environment.
| Is This Answer Correct ? | 0 Yes | 0 No |
I have a Arraylist object, it has duplecate values also. Now question is i want delete duplecate data in that objet with out using Set?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
What is data structure in java?
What is the difference between static method and instance method in Java?
0 Answers SwanSoft Technologies,
explain System.out.println()
Can we override private constructor in java?
What is super constructor?
Realized?
What does this () mean in java?
How do you pass by reference?
Can constructor be inherited?