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
Is string is a keyword in java?
Is a boolean variable?
What is bufferedwriter?
What is queue in java?
What is assembly condition codes?
What is method overloading and method overriding?
What is a protected void?
What is use of super keyword?
What are mutable classes?
Why do you canvas?
Write a program to print fibonacci series
What is data type modifier?
Is heap stored in ram?
What is independent and dependent variables in research?
What is navigable map in java?