Overloaded Constructors:
a) Add a pair of constructors to the
Heightclass that implement the initializations provided by the two
setHeightoperations in Figure. Minimize the total number of statements by having the one-parameter constructor call the one-parameter
setHeightmethod and having the two-parameter constructor call the two-parameter
setHeightmethod.M
b) Provide a complete, rewritten main method for the
HeightDriverclass such that the new
mainmethod uses one of the new constructors from part a) to generate this output:
6.0 ft
Figure HeightDriver class that drives the Height class in Figure

Figure Height class with overloaded methods

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.