Computer Science, asked by wolverine3806, 1 year ago

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

Answers

Answered by mayank539
1

The native keyword is applied to a method to indicates that the method is implemented in native code using JNI (Java Native Interface). native is a modifier applicable only for methods and we can't apply it anywhere else. The methods which are implemented in C, C++ are called as native methods or foreign methods.

Similar questions