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 trialAlex Kasper
1,896 Pointsjavafx enum crash
I am having my editor constantly crash. It looks as if it's auto-checking my work prior to me pressing the "Check Work" button.
Here's my code:
package com.example.model;
public enum Brand { "JVC", "Sony", "Coby", "Apple";
private String getDisplayName;
Brand (String getDisplayName) { getDisplayName = "Sony"; }
public String (getDisplayName) { return getDisplayName; } }
I can't get access to the debug page because I've been kicked off and need to restart the tutorial. This has been the 10th time that I have run into this bug. I will attempt this again, but not sure why I have to continually re-take the quiz.
-Alex
package com.example.model;
public enum Brand {
// Your code here
}