mardi 29 mars 2016

Java Print Stream

Well i am in the learning phase of java. I am unable to understand one thing .
As far as i have understood, methods are called upon on the objects. In "System.out.println()" 'out' is a field of type PrintStream in the class System. Being said that , i am unable to understand how come a method can be called using a field of a class ?
would really appreciate if someone clarify this concept.

Apologies if i have posted this in wrong forum.


from xda-developers http://ift.tt/1MOY8jO
via IFTTT

Aucun commentaire:

Enregistrer un commentaire