Beginner question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Beginner question

  1. #1
    Join Date
    Sep 2003
    Posts
    1

    Unhappy Beginner question

    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!

  2. #2
    Join Date
    Mar 2003
    Posts
    86

    Memebers

    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

    Sharbov.

  3. #3
    Join Date
    Mar 2003
    Posts
    834
    err...small point - 'out' is an object, not a class.
    ArchAngel.
    O:-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center