Question: The following program has several syntax errors as well as style inconsistencies. Correct the syntax errors and identify the style violations. } public class Chair
The following program has several syntax errors as well as style inconsistencies.
Correct the syntax errors and identify the style violations.

} public class Chair { private string type; private double weight; private double cost; private Chair () { } private Chair (weight, type, cost) { } public string ChairType { get return type; } set { ChairType = value; } } public override ToString() { return "Type of Chair: " + ChairType; } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
