Java Java Basics Getting Started with Java Strings, Variables, and Formatting

can some spot the spelling issue?

console.printf("Hello, my name is %s\n", firstName);

Name.java
// I have setup a java.io.Console object for you named console
          String firstName = "Lou";
          console.printf("Hello, my name is %s\n", firstName);

1 Answer

adrian miranda
adrian miranda
13,191 Points

Aren't you supposed to print out something like "<Your Name> can code in Java!"?

Thank you Adrian you are correct