explain System.out.println

Answer Posted / vipul patil

System is public class...& out is static object So class
System can invoke it directly...out is a static object of
PrintStream.class ,& println() is method of PrintStream.class




so "System.out.print(" hello");"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is whitespace important?

557


What happens if a constructor is declared private?

537


Can constructor be static or final?

651


What is an argument java?

539


How does queue work in java?

532






What is the length of a string?

526


What are java packages? What is the significance of packages?

571


What are the differences between graph and tree?

647


How does list work in java?

510


How do I know if java is installed?

519


How transient variable is different from volatile variable?

562


How will you call an Applet using Java Script Function?

544


What are scalar data types?

526


What is a top level class in java?

537


what is interface in java? Explain

532