Object classes store attributes as well as methods specific to that object. Object classes can be created as stand-alone classes,complete with constructors, or they can be nested within other classes—commonly referred to as wrapper classes —and used to “wrap” a subset of attributes into an object class that is only relevant when used within the specific class (or context) where it appears.

Leave a Reply