Hi,
Why we use native methods in java?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Feb 7, 2012, 12:56 AM
A native method is a method that is implemented in a language other than Java.
The Java native method is used to merge the power of C or C++ programming into Java.
To enhance to high performance language, when efficient native Java compilers are not fully implemented, use of native method boosts the performance to at least the speed of C compiled code.
Refer
http://hepunx.rl.ac.uk/~adye/javatutorial/native/index.html
Thanks