![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
In object-oriented programming, a class defines a category of object. A class describes the properties (data) and behavior (methods) for an object, much like an architectural blueprint describes the characteristics of a building. To use the properties and methods defined by a class, you must first create an instance of that class. The relationship between an instance and its class is similar to the relationship between a house and its architectural blueprints.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |