"Build a Weather App with Swift" was retired on May 31, 2020. You are now viewing the recommended replacement.

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

how to Create a new blueprint for Go Karts. Start by declaring a class named GoKart

pls need help

watched vid but didnt quite understand and the quiz didn't get complete because didn't understand study pls help I'm a 7th grader and I really need help

2 Answers

In the future, it is helpful to have a link to the code challenge you are attempting. Try using the "Get Help" button from inside the code challenge next time to help others reply with helpful answers.

As it stands, I'm assuming this is the challenge you are working on. https://teamtreehouse.com/library/java-objects-2/meet-objects/create-a-class-and-field

Check the video starting at time 3:55. Craig provides an example on the bare bones of what a class looks like in code.

To create a class, we need to use the class keyword, then follow that we the name of the class. After that, we need to declare the class body, or in other words the place where all the code that describes the class goes. (Note that the body can be empty for now, and that is still considered a class.)

See the code below

class MyClass {

}

Now how can you imitate my code to complete the challenge?

please, I need help regarding this assignment ...