SyntaxFix
Write A Post
Hire A Developer
Questions
Constructor will be helpful to prevent instances getting unreal values. For an example set a Person class with height , weight. There can't be a Person with 0m and 0kg