A practice project demonstrating a sub-class inheriting from a super class in Java