explain System.out.println
Answer Posted / anuram
System is a class. out is the object of PrintStream class .
println() is the instance method of PrintStream class.to
call that println() we need object of PrintStrem class but
the out is declared as static datamember of System class.So
to call println() befor we call static datamember out using
class name bcoz static datamember can be called by using
class name after that by using out object we can call println().
so System.out.println()
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is java english?
Why is singleton instance static?
What is integers and example?
What is file in java?
Which java collection does not allow null?
What is return keyword in java?
What is meant by object?
Difference between arraylist and hashset in java?
What does java se mean?
What is natural ordering in java?
Is array a class in java?
What is Recursion Function?
What is parsing in grammar?
What is static synchronization?
What is difference between classpath and path variables in java?