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

String firstName = ("tony"); Console.printf("%s can code jave!",firstName); help please

it keeps telling me to check spelling. I cant figure it out I have watched the video 4 or 5 times now.

Name.java
String firstName = "Tony";
  console.printf("%s, can code in jave!", firstName);

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 51,027 Points

The instructions want you to print:

"<YOUR NAME> can code in Java!"

but you have:

"%s, can code in jave!"

try:

"%s can code in Java!"