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 Meet Objects Welcome Back

Pedro Araya
Pedro Araya
1,912 Points

I dont understand the video :(

I dont understand the video.

Jonathan Hector
Jonathan Hector
5,225 Points

First of all, install the REPL accessible through the teacher's notes (It's gonna be your best friend for method learning). Think of a car. The car is the 'class'. The engine, wheels, etc are the 'methods' and the small parts of the engine are the code inside the 'method'. For example, an engine consists of many parts inside it, and that's how a method works. Take a piece of paper and draw squares one on top of each other with body different parts in them, where the car is the top, the 'class'. The 'main' method is what pretty much the ignition. Without it, the car won't start. It took me some time too but when I got it, everything fell into place. Once you understand that concept, the rest will come a little more natural.

2 Answers

Joseph Wasden
Joseph Wasden
20,406 Points

If you don't understand the concepts in this video, take heart! You are learning more every day. I would suggest viewing or re-viewing the Java basics course to get a stronger foundation before moving on to this course. After that, come back with specific questions and the community will help you sort through them.

https://teamtreehouse.com/library/java-basics

Did anyone else just get more confused by Jonathan Hector comment?