Welcome to the Treehouse Community
Looking to learn something new?
Why are we using the final keyword to disallow someone from changing the state of our pez dispenser, when we could just as easily set the class to private and call it a day?
Benjamin Doyle9,603 Points
A private variable can change if you code is modified, using final assures that no where in your code can change this variable as it is a constant.
Oh okay, easy enough. Thank you sir.