Abstract class with two abstract methods