It really is really hard for me to guess your intention. On a person hand you are declaring that each a and b are public (no main underscore in their names) so I need to theoretically be allowed to obtain/mutate (get/set) equally. But Then you certainly specify an express mutator https://smartworldeveloper.in/