CS202 Java-114
System.out.print (StringValue);
System.out.println (StringValue);
Using Java output device
lMETHOD CALL SYNTAX
l
l
l
l
lThese examples yield the same output.
l
lSystem.out.print(“The answer is, ”);
lSystem.out.println(“Yes and No.”);
l
lSystem.out.println(“The answer is, Yes and No.”);