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

Java 8Object Oriented ProgrammingProgramming

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.

raja
Published on 02-Jan-2018 07:19:55
Advertisements