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 !"

printf code how do you start off do I have start writing console in my code

Name.java
// I have setup a java.io.Console object for you named console
String firstName = "Delon"

1 Answer

Gabriel Pierce-Lackey
Gabriel Pierce-Lackey
11,005 Points

Yes, you will start off writing something like

console.printf()