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

IO.java
// I have imported java.io.Console for you.  It is a variable called console.
String firstname = ("Ben");
console.readLine("%s\n", firstName);

1 Answer

Steve Hunter
MOD
Steve Hunter
Treehouse Moderator 56,071 Points

Hi there,

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

Steve.