Saturday 31 March 2018

What is the native keyword in Java for?



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?



Answer



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


No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...