PPT Slide
Instance vs. Class Declarations
A distinction that applies to both:
An instance <variable or method> is one thatbelongs to each object of a class.
A class <variable or method> is one that belongs only to the class itself.
- indicates a class variable or class method.
- absence of the keyword static indicates an instance variable or instance method.