SyntaxFix
Write A Post
Hire A Developer
Questions
console.log() in java is System.out.println(); to put text on the next line
console.log()
System.out.println();
And System.out.print(); puts text on the same line.
System.out.print();