explain System.out.println
Answer Posted / ishant agarwal
System is a final class where it define an class variable out of PrintStream class which is an static
and we can refer a class variable out with System class and println is a method define in PrintStream class
then
while loading an System class it creates an object of PrintStream class
that's why we write it in a way System.out.println();
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is string a class?
What are the different approaches to implement a function to generate a random number?
Explain Basics of OOP Language in java
Why we cannot override static method?
How can I debug the Java security exceptions and AccessControlExceptions?
What are synchronized methods and synchronized statements in java programming?
What is JVM and is it platform independent?
Why java does not support pointers?
What is the meaning of variables in research?
What is the public field modifier?
What are the two parts of a conditional statement?
Explain the init method?
What is stored procedure. How do you create stored procedure ?
How to write custom exception in java?
What is the concept of multithreading?