explain System.out.println
Answer Posted / rajashekhar p
exactly System.out.println();
Solution
System is a Predefined public final class in the
java.lang package.
and out is the static variable of type PrintStream.
and println() method is contain in PrintStream class..
Hence we can invoke this method through class name (i.e
System)
code like as follows........
final class System{
static PrintStream out;
}
class PrintStream{
println();
-----------
------------
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we sort set in java?
When is the finalize() called?
What is the default value of local and global variables?
What does provide mean construction?
What is the largest data type in java?
What is a singleton class? Give a practical example of its usage.
What are "class access modifiers" in Java?
How do you define a variable?
What is difference between call by value and call by reference?
Explain OOPs concept.
What are the object and class classes used for?
How can you share data between two thread in Java?
Is char a data type in java?
What is default exception handling in java?
What is the difference between a method and a function in alice?