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

???What am I doing wrong here.

It's not complying, I tried putting my name than your name, its still not working.
// I have setup a object for you named console
String firstName="yourName";

1 Answer

You need to use String formatter.

console.printf("%s can code in Java!", firstName);

This is why we use printf. To format the output