C Function Pointer Array Example Java