What is the use of "System.out.print" in java language?
Answers
Answered by
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
This is Abhishek Gautam on facebook
Answered by
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
Hindi,
7 months ago
Computer Science,
7 months ago
Math,
7 months ago
Science,
1 year ago
Math,
1 year ago