Computer Science, asked by Abhi1520, 1 year ago

What is the use of "System.out.print" in java language?

Answers

Answered by abhishek9026
1
System is a class of java.lang package, out is an object of PrintStream class and alsostatic data member of System class, print() and println() is an instance method of PrintStreamclass. it is provide soft output on console.

This is Abhishek Gautam on facebook
Answered by jeetkrl7
0

"System.out.print" helps us to print something on the same line

for example,,


System.out.print("abc");

System.out.print("abcd");


output: abcabcd


System.out.println("abc");

System.out.println("abcd");


output: abc

abcd

Similar questions