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.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center