Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Robert Roberson
PLUS
Robert Roberson
Courses Plus Student 8,087 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,087 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,087 Points

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