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
You can create computed properties that help to abstract away how your object is working internally.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Christina Vieau
679 Points2 Answers
-
Mark Palmer
1,482 Pointsmy console doesn't return the last line: "Dispenser is full" not sure why
Posted by Mark PalmerMark Palmer
1,482 Points0 Answers
-
kelly driskel
1,544 Points2 Answers
-
Lucas Easley
1,038 Points1 Answer
-
Jack McClelland
1,356 Points3 Answers
-
Jiawei Hu
9,740 Points4 Answers
-
luis cantu
927 Points1 Answer
-
Benjamin Gooch
20,367 PointsI'm doing this differently... Is there any issues with the way I'm doing it that I'm not foreseeing?
1 Answer
-
David Anzano
1,468 Points1 Answer
-
Henry B
526 PointsPrintf and Println
Posted by Henry BHenry B
526 Points1 Answer
-
Andrew Fitzpatrick
3,013 Points1 Answer
-
aden ajayi
552 Pointshow do I fix this error: reached end of file while parsing
Posted by aden ajayiaden ajayi
552 Points1 Answer
-
aden ajayi
552 PointsExample.java:21: error: reached end of file while parsing
Posted by aden ajayiaden ajayi
552 Points4 Answers
-
PLUS
polo solo
Courses Plus Student 437 Points1 Answer
-
Chris Rubio
1,643 PointsOn minute 4:25 (video : abstraction at play) how does craig clear his jshell ?
Posted by Chris RubioChris Rubio
1,643 Points1 Answer
-
Andrei Musat
738 PointsError: cannot find symbol symbol: class PezDispenser PezDispenser pd = new PezDispenser("Yoda");
Posted by Andrei MusatAndrei Musat
738 Points2 Answers
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