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 there any tag in htm to upload and download files?
What is functional interface in java example?
Define jre i.e. Java runtime environment?
What is adapter in java?
How many bits is a string?
what is the significance of listiterator in java?
Can you declare the main method as final?
What is externalizable interface?
What are different access specifiers in java? Explain
Which object oriented concept is achieved by using overloading and overriding?
List two java ide’s?
Why is string buffer better than string ?
Does java arraylist maintain insertion order?
What is arrays fill in java?
Is break statement can be used as labels in java?