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

Call the printf method on the console object and make it write out "<YOUR NAME> can code in Java!

String firstName = "josue";
console.printf("%s", firstName);

1 Answer

Steven Parker
Steven Parker
194,174 Points

You're getting close, you have it writing your name out. But the challenge wants to see your name followed by " can code in Java!". Just add that to the printf template string and you'll have it.