posted 23 years ago
this is rather a stupid question, but please someone help me. my confusion is what does the object contain off. As far as i know it contains instance variable but does it contain methods defined in the class, and it ojb do not contain methods then why are they called instance methods. Does object act on method or the method act on the obj. my theory is "when the class loads the methods act on the object" . Please someone explain with a simple example. Please some help and it is greatly appreciated.