how use in it in main project?

Posted by davit-datuashvili on Stack Overflow See other posts from Stack Overflow or by davit-datuashvili
Published on 2010-06-03T09:35:49Z Indexed on 2010/06/03 10:04 UTC
Read the original article Hit count: 124

Filed under:

I have the following interface:

public interface MyFunctor {
   int myFunction(int x);
}

And I created a class which implements this interface :

public class Myfunction1 implements MyFunctor {
}

how use in main project? i have corrected mistake now i need how run it in main project? i mean in public static void main(String[]args)?

© Stack Overflow or respective owner

Related posts about java