What's the meaning of System.out.println in Java?
问题 Is this static println function in out class from System namespace? namespace System { class out { static println ... } How can I interpret this name? And where in JRE this function is defined? In java.lang.System / java.lang.Object ? 回答1: No. Actually out is a static member in the System class (not as in .NET), being an instance of PrintStream . And println is a normal (overloaded) method of the PrintStream class. See http://download.oracle.com/javase/6/docs/api/java/lang/System.html#out.