mr_ped Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
Experienced Contributor
Of course the userValue can be private/protected, then add some public methods to work with the value, if you want to hide that data from direct access.
I think the default constructor should be enough for everyone (in this special case, not in general).