1//print and create new line after
2System.out.println("text");
3System.out.println(String);
4//You can use any variable type, not just strings, although
5//they are the most common
6
7//Print without creating a new line
8System.out.print("text");
9System.out.print(String);
1//All the other answers are all correct I just wanted to add that
2//in most cases you can write "sout" nad then press enter to write
3//out the big command