Should getters and setters be used for every bit of data you get from a user?
If I have a questionnaire getting data from a user
should getters and setters always be used to get/set information like a name address age etc etc
i understand what they are? just dont know their relevance and how important they actually are.
If I have a questionnaire getting data from a user
should getters and setters always be used to get/set information like a name address age etc etc
i understand what they are? just dont know their relevance and how important they actually are.