Welcome to the Treehouse Community
Looking to learn something new?
Fong Vang182 Points
Issues with 2nd task using console.readline
For the first task, I wrote --> String firstName = console.readLine ("fong"); And it worked.
For the second task, I wrote --> String lastName = console.readLine ("vang");
After checking, I am being told that task 1 is no longer working.
I cant seem to continue.
// I have imported java.io.Console for you. It is a variable called console. String firstName = console.readline("fong"); String lastName = console.readline("vang");
james southFront End Web Development Techdegree Graduate 33,258 Points
the method is readLine, not readline. it's throwing an error for me on task 1 when i use readline. i should add it often says a previous task is no longer passing when you introduce an error in the current task.