explain System.out.println

Answer Posted / neha

here println is a method as only methods can be called with
dot operator and out is a static variable of class System
as only static variables or methods can be called using
classname.staticvariable.method.. thankyou

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How dead lock situation occurs in java and how you can identify it?

542


Write a method that will remove given character from the string?

575


Which access specifier can be used with class ?

532


What is the difference between length and size in java?

499


What are synchronized methods and synchronized statements in java programming?

572






What is the benefit of abstract class?

515


What is the difference between a static and a non-static inner class in java programming?

533


Explain the transient field modifier?

565


What is starvation?

683


What is string builder in java?

556


What are the three parts of a lambda expression?

536


What is style and indentation?

554


What is meant by interface?

565


What is type safety in java?

486


What are the topics in core java?

531