Native methods are usually used to interface with system calls or libraries written in other programming languages. Ideally, not at all. In reality, some functionality is not available in Java and you have to call some C code. The methods are implemented in C code.