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.

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 30-Jul-2019

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements