explain System.out.println

Answer Posted / anand_pbc

System is a final class in java.lang package
out is "PrintStream" type of static field in System class
(The "standard" output stream)
println is a method in class PrintStream (this is class is
in java.io package)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is easier .net or java?

649


How do you check if a string contains only numeric digits?

620


What is supplier in java?

560


Why main method is static in java?

597


How can we run a java program without making any object?

545






You're given a Boolean 2D matrix, can you find the number of islands?

600


What is void keyword?

677


Explain creating threads by extending thread class ?

580


What is array length in java?

528


Do you need to import math in java?

563


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

525


what do you mean by classloader?

555


Difference between method overloading and method overriding in java ?

575


What is field name?

587


Can a main method be declared final?

588