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 OOP's Terms with explanation?
Can you extend singleton class?
Which non-unicode letter characters may be used as the first character of an identifier?
explain local datetime api in java8?
What is null object in java?
What is mutable object and immutable object?
Is java a virus?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
What is a parameter in a function?
Which is better list or arraylist in java?
How do you invoke a method?
what do you mean by classloader?
Why string is immutable with example?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
What is oops in java?