It truly is tricky for me to guess your intention. On one hand you are declaring that the two a and b are public (no main underscore inside their names) so I should really theoretically be allowed to access/mutate (get/set) the two. But Then you really specify an specific mutator https://aiplgurugram.co.in/aipl-lake-city-sector-103-gurgaon-a-haven-for-modern-families/