How to force implementation of a method in subclass without using abstract?
I want to force subclass to implement an implemented method of my mother class. I look this Java - Force implementation of an implemented method but i can't convert my mother class to an abstract class. public class myMotherClass { myMethod { ...some code .. } } public class myClass extends myMotherClass { myMethod { ... other code ... } } So, in this exemple, I want to force myClass implement myMethod. Sorry for my english... You can not force a subclass to override a method. You can only force it to implement a method by making it abstract. So if you can not make myMotherClass abstract you