explain System.out.println
Answer Posted / srihari desai
System is a pre-defined class present in java.lang package.
System is a final class since it cant be extended.
There is one more pre-defined class called PrintStream
present in java.io package.
The Object of PrintStream class created as static in System
class.
In PrintStream class There are Total 9 Overloaded println n
print methods.
Each println/print methods takes different data type as a
parameter like
println(int)
println(float)
println(double)
println(short)
println(byte)
etc
Thank u 1 n all
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What do you mean by boolean?
What is an example of a boolean?
What is Java Annotations?
Does treeset use compareto?
What is the meaning of immutable regarding string?
What is the basic of java?
What is dot operator?
What are the advantages of java inner classes?
How do you classify Dialog Box?
What is the purpose of a volatile variable?
Explain about strings in java?
What is the buffer limit?
What is a numeric literal?
What is the difference between processes and threads?
What is final?