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 trialRamzy Rashaun Arief
3,922 Pointsidk whats wrong
idk whats wrong with my code
// I have setup a java.io.Console object for you named console
String firstName = "Ramzy";
Console.printf("%s can code in Java!", firstName);
1 Answer
andren
28,558 PointsThe problem is that you have capitalized the C in console. Capitalization is pretty essential to get right in programming. If you write it without capitalization like this:
String firstName = "Ramzy";
console.printf("%s can code in Java!", firstName);
Then you'll be able to complete the challenge.
Simon Coates
28,694 PointsSimon Coates
28,694 PointsThe text "cannot find symbol" means that the compiler doesn't know what something is. This is a pretty common error and one of the obvious causes is spelling mistakes (here as andren noted, incorrect case). FYI, java errors are often pretty specific and debugging is a key skill. A lot of people new to programming can be too intimidated by the weird messages to notice they're actually often more helpful than obscure.