Even though It's not necessarily obvious how to reinforce a immediate member access like foo.num = num, You can certainly augment your regular setter with yet another drive parameter: Fields are the only real mechanism the way to store info on course degree. Fields are conceptually variables at course scope. https://conscientgurugram.in/conscient-parq-sector-80-gurgaon-a-sophisticated-lifestyle-in-the-grandeur-of-the-city/