Question: what is the difference between system.out.println and out.println?
Answer: println() method prints the string and moves to new line. System. out. print() method prints the string if any and doesn't put new line.