Results 1 to 3 of 3

Thread: Methods from classes and objects question. [SOLVED]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member gjon's Avatar
    Join Date
    Nov 2004
    Location
    Inescapable Void
    Posts
    442

    Methods from classes and objects question. [SOLVED]

    Trying to understand better the difference between calling methods from objects and classes.
    For objects, you need to create an instance of the object before you call a method from it.
    For classes, you can simply call the method from that class as long as it's available to you such as when you use import statements.

    Now if thats even a correct understanding. Why even make objects if they are the exact same as a class. WHy not just keep using the classes methods and variables. Or is that true in most simple cases and thats whats practiced normally?
    Not even sure I understand what I am trying to figure out concerning this but maybe with a little prodding I can move into the right direction.
    Last edited by gjon; Dec 10th, 2005 at 01:24 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width