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?
Straight from the Java Language Specification:
A method that is
nativeis implemented in platform-dependent code, typically written in another programming language such as C, C++, FORTRAN,or assembly language. The body of anativemethod is given as a semicolon only, indicating that the implementation is omitted, instead of a block.