This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
System is a class in java
out is the static field of System class that gives us the PrintStream for output
println() method prints whatever text is provided in it and goes to the next line
it is fully defined as
as it is static field we call it using the class name i.e. System.out
Now printlln() is the method defined in the PrintStream class and we are calling the println() method using PrintStream object got using System.out
hence in short
means that print a line of text and go the next line on the output stream of the System.
about your third question
you have to read a little about static imports
you can find it herehere
SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right