Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Constants 7:23
- Add a Constant 1 objective
- Filling the Dispenser 7:17
- Changing State 2 objectives
- Abstraction at Play 8:34
- Computed Properties 2 objectives
- Incrementing and Decrementing 8:28
- Increment and Decrement 3 objectives
- Method Overloading 8:00
- Overload Methods 2 objectives
- Exceptions 7:50
- Throwing Exceptions 1 objective
- Handling Exceptions 1 objective

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Let's create a method that changes the internal state of our object
Learn more
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
PLUS
Michel Spaniolo
Courses Plus Student 1,850 Points3 Answers
-
Filip Glinz
471 Points1 Answer
-
Alexander Price
422 Points0 Answers
-
Kortney Field
14,091 Points1 Answer
-
Adam Stenning
7,132 Points1 Answer
-
abdelbasset sadok
1,304 Points0 Answers
-
Chris Yan
Full Stack JavaScript Techdegree Student 9,250 Points1 Answer
-
Duy Nguyen
583 Points1 Answer
-
love maho
44 Points1 Answer
-
Rana P
885 Points1 Answer
-
PLUS
rehan guddu
Courses Plus Student 122 Points2 Answers
-
PLUS
rehan guddu
Courses Plus Student 122 Points2 Answers
-
kevin salinas
2,392 Points1 Answer
-
oussama zeglama
Full Stack JavaScript Techdegree Student 191 Points1 Answer
-
Michael Stewart
1,179 Points1 Answer
-
Andrew Fitzpatrick
3,013 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up