System.out.print("Diego "); System.out.println("is the best!"); System.out.print("Amigo "); System.out.println("is the best!"); output: Diego is the best! Amigo is the best! First diego is printed then println command is used "is the best" it should be printed on new line ? output i think should be Diego is the best! Please explain me this concept?