explain System.out.println

Answer Posted / arun rajesh

System.out.println

The println() is a method that is used to print data on the
system console (command window). Java's method names are
always followed by parentheses.

System and out are not methods, but names that represent
other Java classes.

System.out means that the variable out is defined inside
the class System.

The out.println() tells us that there is an object
represented by a variable called out and it has a method
called println().

Is This Answer Correct ?    36 Yes 136 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

624


Is vector ordered in java?

539


If a class is declared without any access modifiers, where can the class be accessed?

596


Why map is used in java?

576


What is the public field modifier?

543






String class is defined under which package in java?

621


What does  mean in regex?

568


What are methods?

552


What are the 3 types of loops in java?

530


What is the benefit of singleton pattern?

527


What are the different types of inheritance in java?

529


How do you use find and replace?

511


What is the similarity between dynamic binding and linking?

609


What is a get method?

531


What is ++ a in java?

568