explain System.out.println

Answer Posted / jacob.p.george

'system' is a public class which is final which can never
be extended..It itself extends object.
'out' is the static object of the class PrintStream.
'println()' is the method of printStream class..
since 'out' is a static object it can be called by using
the class name'system'
so 'Sstem.out.println()'

Is This Answer Correct ?    362 Yes 45 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is ++ operator is thread safe in java?

604


What is meant by anonymous class?

679


Convert a BST into a DLL and DLL to BST in place.

764


What is the console in java?

766


Why are parameters used in functions?

628






What is the difference between an inner class and a sub-class?

594


Are private methods final?

570


What is pojo class in java?

629


Explain the concept of proper inheritance?

708


what do you mean by classloader in java?

679


Variable of the boolean type is automatically initialized as?

688


What is the basic concepts of OOPS?

780


What is the maximum size of arraylist in java?

591


How do you download stubs from Remote place?

1442


What interface is extended by awt event listeners?

697