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

Android Build a Simple Android App Basic Android Programming Accessing Views in Code: Declaring Variables

methods, class and more

hi ! I took the java course before coming to this course, but I am still getting lost whenever the video talks about classes and methods.. can somebody help me a little with this ?

3 Answers

james south
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
james south
Front End Web Development Techdegree Graduate 33,271 Points

the class is the blueprint for the object. so at a bank we might have a bank account class. it would spell out how accounts are created, what properties they have, and how we can change those properties. methods are used to change aspects of the object we create with the class. so we might have a deposit method to add money to an account and a fee method to apply a monthly fee etc.

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Hi jonathan cohen , have you checked out both Java Basics and Java Objects? Your exact question should be answered in the Java Objects course. We need to figure out a better way of recommending Java content to take before trying out this course, but those two courses are the important ones.

thank you all ! Ben Jakuben james south