Even though it is not obvious how to augment a immediate member accessibility like foo.num = num, You can easily increase your common setter with a further power parameter: In accordance with this theory, the characteristics of a category are made non-public to hide and defend them from other code. https://herohomesrealty.in/hero-homes-sector-104-gurgaon-wellness-living-with-urban-connectivity/