It's really hard for me to guess your intention. On 1 hand you happen to be indicating that both equally a and b are public (no foremost underscore in their names) so I should really theoretically be permitted to access/mutate (get/set) each. But Then you really specify an specific mutator https://whitelandgurugram.co.in/whiteland-westin-residences-gurgaon-redefining-ultra-luxury-living-in-sector-103/