Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

Is there a better way of using getters and setters on private members of a class?

In some instances, I use "spelled out" getters as I want something special done for the return. I came to this page looking for the syntax and did not see this use case listed so I will ...
Spencer Sullivan's user avatar

Top 50 recent answers are included