Your classes will likely have data members so how do you work with these data members? Should they be public? Private? Do you let other code access them directly? And what is the difference between a field and a property? This episode will help you get and set your data members.
...more
View all episodesBy Take Up Code: build your own computer games, apps, and robotics with podcasts and live classes
4.8
111111 ratings
31: Getters And Setters Keep It Together.
Your classes will likely have data members so how do you work with these data members? Should they be public? Private? Do you let other code access them directly? And what is the difference between a field and a property? This episode will help you get and set your data members.