Load a method from a compiled native library.
class
|
The native keyword declares a method as being part of an external compiled library that is specific to the operating system.
To use native methods, an external library must be loaded from a .dll, .so, or similar file. The compiled code in the external file must be written to support the Java Native Interface (JNI).