what is the use of system.out.println in java
Answers
Answered by
3
it displays the output message.
In the statement system is the class in java.lang package and println is a function.
println shifts the cursor to a new line.
In the statement system is the class in java.lang package and println is a function.
println shifts the cursor to a new line.
kavys:
System.out.println prints the argument passed.. System is a final class,Out is a static member and println is a method of PrintStreamClass.
Answered by
3
System.out.println is a public method to print the data values...that is...the statement or the value of the variable which you add in quotation marks between the parenthesis
Similar questions
English,
8 months ago
Physics,
8 months ago
Environmental Sciences,
1 year ago
Environmental Sciences,
1 year ago
Biology,
1 year ago
Math,
1 year ago
History,
1 year ago