What are native methods in Java and where are they used?



A native method in Java is a method whose implementation is written in other languages such as c and c++.

The ?native' keyword is used before a method to indicate that it is implemented in other language.

Updated on: 2019-07-30T22:30:20+05:30

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements