Hi, i am a java apprentice and I have reached good point in the study of this revolutionary language, but
I have a doubt that persecutes me and it is this:
if we take in examination the method System.out.println () such as any other call ie. Class.field1.field2.field3…, do we have that System is a default java class , "out" is a field, that is a data member of the class and what println () is and how it is related to the "out" field and to the "System" class ?
That is, when there are things like "Class.field1.field2.field3()" how those field are related each other?
Thank you a lot!
Keep in mind that a calss member can also be a class.
In that case out is a member class of System. when you call System.out.println() you call a public method of out
err...small point - 'out' is an object, not a class.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL