DocsJavaGetting StartedJava OutputPrint text and numbers with println() and print(), and format your output neatly with printf().Lesson 4 of 46PreviousNextPreviousJava SyntaxNextJava Comments