So I have a non-abstract method onStop inside the base class. Is it acceptable to make it abstract in the extented MyTask? The aim is to force the onStop to be implemented by classes that extend the MyTask.
public abstract class Task {
public void onStop() {
}
}
Implementation:
public abstract class MyTask extends Task {
//..
// Is this acceptable?
public abstract void onStop();
}