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 trialBarisan Firildak
403 PointsI didnt understand anything
I dont even understand what is the question asking
public static void main(String[] args) {
Console console= System.console();
String firstname = "bari";
console.printf(firstName);
// I have setup a java.io.Console object for you named console
}
1 Answer
Manish Giri
16,266 PointsPay attention to camelcase. If I run your code, I get this message -
Bummer! Did you create a String variable named firstName set equal to your name?
If you look closely, the variable is camelcased, firstName
. While in your code, the variable is all lowercased -
String firstname = "bari";