AbstractMethodError defined and put in one abstract class methods