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 Add a Constructor

Hello Sir, I created this account for my son. He is looing to fresh start with Java basics. Please help.

Sir, Please mark this course as complete so we can start from fresh.

GoKart.java
class GoKart {
  private String color = "red";
  public GoKart(String color){
    private  this.color = color;
  }
  public String getColor() {
    return color;
  }

}
Christof Baumgartner
Christof Baumgartner
20,864 Points

Normally it shouldn't be a problem to make courses again and again. No matter if it is completed or not.

1 Answer

Daniel Walker
Daniel Walker
2,031 Points

Yeah, you should be able to just click the track and then click the circles above each track to re-do.