// optmn_interface.java public interface optmn_interface { // just the signatures, no body // the user provides the body in class optm_function // in file optm_function.java double f(double x[]); }