// add abstract method, when derived class is not abstract abstract public class BaseClass { abstract void myAbs(); }