explain System.out.println
Answer Posted / narasimhulu
System is a final class in java.lang package, which is the
default package in Java.
out is a static variable in System class.
println() is a method of PrintStream class which is in
java.io package
in the system class
static printstream out;
so "out" acts as a reference for PrintStream class and also
static variable in System class.
so finally it produces the output to the console(character
using as input)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the symbol for line break?
List some java keywords sun like c, c + + keywords?
Why java is made?
what is function overloading in java?
What is the significance of java packages?
What is a copy constructor in java?
How does hashmap work in java ?
What is meant by stack and queue?
What are the advantages and disadvantages of object cloning?
What is a databasemetadata?
Are arrays dynamic in java?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
What is method overloading and method overriding?
What is java used for?
What are the two ways in which thread can be created?