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
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Explain the features of java?
What is a parameter used for?
What is a loop java?
Can a static member function access member variable of an object?
Write a program to print the pattern given below
What is time complexity algorithm?
Why declare Main() method as a static in java ?
What is a top level class in java?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What the difference is between execute, execute Query, execute Update?
What is the purpose of nested class in java?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
define the terminology association.
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx