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 Meet Objects Creating Classes

Jacob Wingfield
Jacob Wingfield
6,332 Points

I'm super confused.

What is java's role in coding? Why use system.out.println instead of printf? What is system.out and what does it do? What does this line of code mean: public class Example { public static void main(String[] args) { } } How does the code in this video function, I don't understand. Could someone please respond to this and explain it simply without being wordy and such, and also tell what this code is used for, and how it all ties together because I am not understanding, especially his tying of ideas to objects about state and behavior.

Steven Parker
Steven Parker
217,573 Points

It looks like you have a Techdegree subscription. That still includes access to a Slack channel where you can interact live with staff Success Specialists, right? Don't overlook that resource!

1 Answer

Jacob Wingfield
Jacob Wingfield
6,332 Points

Im still enrolled for some reason but I'm not using it. I'm just looking for someone to explain the basic structure of classes and stuff, and javas relation and role. I learn by starting by a general outline and then breaking down the different parts and components so I'm just looking for a simple explanation without all of the fancy syntax.