Explore Courses Blog Tutorials Interview Questions
0 votes
in Java by (10.2k points)

While playing this puzzle (It's a Java keyword trivia game), I came across the native keyword.

What is the native keyword in Java used for?

1 Answer

0 votes
by (46k points)

The native keyword is implemented as a method to show that the method is executed in native code using JNI (Java Native Interface).

For more click here.

Browse Categories