CS 3304: Comparative Languages
Object-Oriented Programming
[
Course Documents
] : [
Object-Oriented Programming
]
Previous
Contents
Next
Keyword Index
Class vs. Instance
There are two kinds of variables in a class:
Class variables - one/class
Instance variables - one/object
There are two kinds of methods in a class:
Class methods - messages to the class
Instance methods - messages to objects