I was wondering, why do people use a public get/set function inside a class in order to get/set a private variable instead of declaring the variable public in the first place? I don't doubt the usefulness of doing so since it is more than common, but I would like some example showing the importance...