Create a class called GameObject that will store a single private attribute called location oftype Point2D.
2A. Create a constructor in GameObject that takes an initial Point2D location and setsit.
B. Remove the location variable from the Ball, Wall, Player, Prize and Trapclasses. You will notice that none of these classes will compile now since theconstructors, get/set methods and toString() methods are all using that location attribute that we just removed.