explain System.out.println
Answer Posted / anup
----> public final class System extends Object <------
Directory Structure is as follows:
java.lang.Object
|
+--java.lang.System
System class has following static field-
static PrintStream out =new PrintStream();
directory Structure of PrintStream:
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--java.io.PrintStream
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the Concept of Encapsulation in OOPS
Explain what are final variable in java?
What are the differences between abstract class and interface?
What is a protected void?
What are the different types of garbage collectors in java?
What is a databasemetadata?
Can we able to pass objects as an arguments in java?
What is the difference between import java.util.date and java .util?
What is meant by null and void?
What is the function of http?
What is string immutability?
What do you mean by of string::valueof expression in java 8?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What is equals method in java?