Q Explain System.out.println ?
A:->
System:-It is the final class and its constructor is
private.so we can not create new object of System.
out. it is the static member of the System class of type
java.io.PrintStrem.
println:-it is the overload function of PrintStream.
No comments:
Post a Comment