Let\'s imagine I want to write a generic class Point and a specialized class Point2D with two new accessors: getX() and getY()
Point
Point2D
getX()
getY()