Java Java Basics Getting Started with Java Strings and Variables

about java questions and test

what wrong with my syntax they say its wrong Console.printf("Esraa can code in java!");

1 Answer

Philip Schultz
Philip Schultz
10,494 Points

Hey, I believe the question is asking you to use formaters.

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