public class Console { public static native int getch (); static { System.loadLibrary ("Console"); } }