Why am I getting this error? I typed it in exactly as per the instructions?
The closing curly brace for your Dog constructor is in the wrong place. Move it up so that the constructor is closed before the main function starts.
Thank you very much!
A post was split to a new topic: 3. Classes: Constructors
4 posts were split to a new topic: 3. Glasses: Constructors – I cannot get the run to work correctly