In class we saw how to compose objects to create a BoxCar class, and in PHW6 you created a Tree class. Now we’re going to create another composite shape: Forest.
Rx: <25 min Av: 25-50 min Sd: 50-75 min DNF: 75+ min
Forest class with:

x, y, width, & height. The width & height represent the overall width & height of the forest, not an individual tree.paint method that has a Graphics parameter and calls the corresponding draw methods for the trees.Forest class by replacing your Tree field(s) in the Picture class.