SE450: Objects vs. Classes [24/41] Previous pageContentsNext page

Object: represents anything in the real world that can be distinctly identified. Object and instance are interchangeable.

Class: represents a set of objects with similar characteristics and behavior. An object is an instance of a class.

Previous pageContentsNext page