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
Can an interface have a class?
What is qualitative variable?
What initialize variables?
What are different types of control structures?
Why chararray() is preferred over string to store the password?
Tell me the Importent classes in net package?
What are keywords in programming?
What is keyword in oop?
Why is a string immutable?
what is meant by HQL?
What is the major drawback of internal iteration over external iteration?
What is jit compiler in java?
Why is singleton not thread safe?
How can a gui component handle its own events in java programming?
Can memory leak in java?