Repeat Exercise P8.17 by designing classes LetterH, LetterE, LetterL, and LetterO, each with a constructor that takes a Point2D.Double parameter (the top-left corner) and a method draw(Graphics2D g2). Which solution is more object-oriented?
Here is a sample program output: