Java Java Basics Getting Started with Java IO

Muhammad Mustafa
Muhammad Mustafa
479 Points

Do not forget to use camel case for `firstName`

I don't understand this
// I have imported for you.  It is a variable called console.
String firstname = ("Ben");
console.readLine("%s\n", firstName);

1 Answer

Steve Hunter
Steve Hunter
Treehouse Moderator 56,145 Points

Hi there,

Where you have declared the variable, you have called it firstname without the capital N.