Saturday, July 9, 2022

[FIXED] What is the native keyword in Java for?

Issue

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?


Solution

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



Answered By - SLaks
Answer Checked By - Katrina (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.