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 trialAlexander Davison
65,469 PointsI can't find the error on task 1
Please help me find an error here!
Sting firstName = "Gordon";
String lastName = "Sumner";
console.printf("Hello %s", firstName);
String band = console.readLine("Which band? ");
1 Answer
kheiferfuller
8,635 PointsSting isn't a class. They're looking for the "String" class.
String firstName = "Gordon";
This is where I'd make a horrible joke about Sting being a band...but I'm going to let that one slide.
Alexander Davison
65,469 PointsAlexander Davison
65,469 PointsThank You! It works!