explain System.out.println

Answer Posted / rajendra h r

System is a class

Out is a static reference of type printStream.

prinyln()is a method in the Class System.

When you say System.out.println()

u r telling compiler to print the string that u type
inside the println() method as argument on out put stream
(ie u r moniter).

Is This Answer Correct ?    18 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you run java program without main method?

538


Can you call one constructor from another if a class has multiple constructors?

576


Distinguish between a predicate and a function?

559


What is meant by singleton class?

589


Can substring create new object?

551






What is merge sort in java?

573


Name few java util classes introduced with java 8 ?

491


Can you instantiate the math class?

593


What is a stringbuffer?

502


What is the use of a copy constructor?

564


What is casting in java programming?

572


Why is singleton instance static?

499


Is map sorted in java?

562


What are the skills required for core java?

530


How to change the priority of thread or how to set the priority of thread?

609