Question: 2. The classes Rectangle2D.Double, Ellipse2D.Double, and Line2D.Double implement the shape interface. The Graphics2D class depends on the shape interface but not on the rectangle, ellipse,
2. The classes Rectangle2D.Double, Ellipse2D.Double, and Line2D.Double implement the shape interface. The Graphics2D class depends on the shape interface but not on the rectangle, ellipse, and line classes. Draw a UML diagram denoting these facts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
