a felipe ramirez 3 éve
450
Még több ilyen
Class methods: they belong to the class as a whole and have access only to the class variables and the inputs of the procedure call
Instance methods: They belong to individual objects and have access to the instance variables for the specific object being called, the inputs, and the class variables.
Member variables: Refers to both the class and the instance variables defined by a particular class.
Instance variables or attributes: data that belongs to individual objects; each object has its own copy of each
Class variables: they belong to the class as a whole; there is only one copy of each