Please enable JavaScript to use CodeHS

CodeHS Glossary


System.out.print Java

Java method that lets us print output to the user, without ending the line printed. Unlike System.out.println, there is no new line printed when using System.out.print.

For example:

System.out.print("Hello World!");
System.out.print("This is Java!");

Would output the following to the user:

Hello World!This is Java!