Question: Florida Poly Pulse Files xC Chegg Study | Guided Sc x None d | file:///C:/users/Chris/Downloads/FPU-S18-COP2272C-02-OOP4%20(1).pdf None Subject: Write a complete C++ 1. Detailed members of



Florida Poly Pulse Files xC Chegg Study | Guided Sc x None d | file:///C:/users/Chris/Downloads/FPU-S18-COP2272C-02-OOP4%20(1).pdf None Subject: Write a complete C++ 1. Detailed members of three classes are given below. Note the comprehensive constructor is a constructor for a subclass that provides parameter for initializing properties of both current class and all ancestor classes. As in OOP3, each class is made of one header file and one source file. Tree program and implement the class tree in Figure oconut Tree Willow Figure 1 Class Tree Properties (private) o age: int o height: double non-argument constructor: initialize this class's properties with default values standard constructor: number of parameters equals to the number of properties of this class. It initializes this class's properties with parameters. o o Methods o one get method for each private property: same type as the corresponding o one set method for each private property: void return type, one parameter, for o display: no return, no parameter, print name and current value of every property property, no parameter, usually made of one return statement, for reading value of the property resetting value of the property using the parameter from outside of the class. It is usually made of one assignment statement o grow0: no return, print how much increase in height a typical tree usually gains in one year Class CoconutTree . Properties (private) O Type here to search 3-38 PM 3/28/2018
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
