abstract method pattern java what is an abstract class and abstract method in java