Question: Define a default constructor that initializes the fields eyeColor (string), height (double), and name (string) with the default values Void, 0.00, and Empty, respectively.


Define a default constructor that initializes the fields eyeColor (string), height (double), and name (string) with the default values "Void", 0.00, and "Empty", respectively. Ex: If the input is hazel 6.00 Ron, then the output is: Default values: Eye color: Void, Height: 0.00, Name: Empty After mutator methods: Eye color: hazel, Height: 6.00, Name: Ron Note: The class's print() method is called before and after the input is passed to the setters. Member.java MemberList.java
Step by Step Solution
3.43 Rating (150 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
