Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Objects (Retired) Harnessing the Power of Objects Incrementing and Decrementing

Robert Roberson
PLUS
Robert Roberson
Courses Plus Student 8,401 Points

I have watched this video about 6 times and still don't understand how it applies to the exercise that comes after.

I would like to link what I have just learned to what I am supposed to do, but see no logical common link between the video and what the exercise asks.

4 Answers

I don't exactly understand what you are looking for with your question but these were some of my takeaways from this exercise ^^.

Well it basically tells you that within the same class you can create methods which depend upon the methods in that same class. Even if they are created after the method you call them in.

Cool thing is that those methods in your method can be called without declaring an instance or the need to use "static". You also learn how to increment or decrement while also applying your knowledge from the previous courses.

Another fun takeaway from the exercise is that you can always improve your code or implement it differently.

And after all this course is to get you familiar with objects.

Robert Roberson
PLUS
Robert Roberson
Courses Plus Student 8,401 Points

I am not talking about a physical link. I am saying the idea in the video doesn't translate to the task they're asking me to do.

Robert Roberson
PLUS
Robert Roberson
Courses Plus Student 8,401 Points

I can read, you are really not helping so unless you can actually help me, you should waste your time.