I have a question about interface and class implementing interface.
This is my code:
interface iMyInterface { public iMethod1(); } public class
It will work (provided that cMyClass implements iMyInterface and you are in scope of protected modifier) but that is not the correct OO approch.
If you want to use iMethod2 consider:
cMyClass myClass = new cMyClass();