Assume a class Tree has a field of type Triangle called leaves and a field of type Square called trunk. The constructor of Tree takes no parameters and its constructor creates the Triangle and Square objects fi its fields. Using the figures project from Chapter 1, create a simple Tree class fit this description. You do not need to define any methods in the class and the shapes do not have to be made visible.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.