explain System.out.println
Answer Posted / rahul yadav
System.out.println( );
1.The System class contains several useful class fields and
methods. It cannot be instantiated.
2.System class has field out of type PrintStream class.
3.println() is a method in PrintStream class.
public static final PrintStream out
The "standard" output stream. This stream is already open
and ready to accept output data. Typically this stream
corresponds to display output or another output destination
specified by the host environment or user.
For simple stand-alone Java applications, a typical way to
write a line of output data is:
System.out.println(data)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is null object in java?
What is sortedset in java?
When should you use arraylist and when should you use linkedlist?
What is high level language in computer?
What is object data type?
what do you understand by the term string with respect to java?
Differentiate between stringbuffer and stringbuilder in java.
What is blank final variable?
Why static functions are used?
What are the advantages of functions?
Is empty in java?
Garbage collection in java?
How do you sort objects in java?
What are voids?
Can we convert integer to string in java?