explain System.out.println
Answer Posted / rajeshbg
Syatem.out.println() --> 1. System is a class, which is final.
2. out is the static variable in
System class of type PrintStream.
3. println() is the mathod in
PrintStream class.
See below code,
Public class PrintStream
{
Public void println();
}
final Public class System
{
Public static PrintStream out;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does string mean in java?
What is an immutable object? How do you create one in java?
What is a private class in java?
Explain the advantages of packages in java?
What are thread priorities and importance of thread priorities in java?
How do you declare an array in java?
Explain about complier design(phases)
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Is an integer an object?
State the difference between strings and arrays.
Can extern variables be initialized?
Can we override private method in java?
What do you mean by composition in java?
What is the purpose of garbage collection in java? When is it used?
Convert Binary tree to linked list.