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

Jareth Vasquez
Jareth Vasquez
1,719 Points

please help its not working and i dont know these flags yet (java)

// I have setup a java.io.Console object for you named console
String firstName = "jareth";
console.printf("s% can code in Java", firstName);
Name.java
// I have setup a java.io.Console object for you named console
String firstName = "jareth";
console.printf("s% can code in Java", firstName);

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 50,871 Points

You have two issues:

1) The % goes before the s: %s instead of s%

2) There is an exclamation point after Java