Sunday, April 9, 2006 10:11 AM
It's just how they defined things, and it makes a lot of stuff easier/possible.
By the way it's not exactly the "variables" that need getters and setters -- it's "properties". (assuming by "variables" you mean "member fields")
Some "properties" can be implemented with a public getter and setter but not even need a member field internally.... or with a member field that is named completely differently.