Welcome to the Treehouse Community
Looking to learn something new?
it is a compiler error
it won't run
// I have setup a java.io.Console object for you named console str firstName = "Leon";
The type to declare a string is String, not str; be sure you do String with a capital S because Java is case sensitive.
Caleb KleveterTreehouse Moderator 37,862 Points
You should be defining the type of the variable where you have
str, like this:
String firstName = "Leon";