Java Java Basics Getting Started with Java IO

Declare a variable that is named the camel-cased version of "first name". Store the user's first name into this new vari

Declare a variable that is named the camel-cased version of "first name". Store the user's first name into this new variable using console.readLine.

IO.java
// I have imported java.io.Console for you.  It is a variable called console.

1 Answer

minh nguyen
minh nguyen
48,659 Points

String firstName = console.readLine();