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 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.