Objects: Difference between revisions
Mr. MacKenty (talk | contribs) |
Mr. MacKenty (talk | contribs) |
||
Line 5: | Line 5: | ||
== Example == | == Example == | ||
In the image below, we see an example of the relationship between an object and class. An object is derived from a class. An object is made from a class. You can think of a class as a blueprint, and an object created from that blueprint. | |||
[[File:Object and class.jpg]] | [[File:Object and class.jpg]] |
Revision as of 04:43, 29 July 2017
In the class-based object-oriented programming paradigm, "object" refers to a particular instance of a class where the object can be a combination of variables, functions, and data structures.[2]
Example[edit]
In the image below, we see an example of the relationship between an object and class. An object is derived from a class. An object is made from a class. You can think of a class as a blueprint, and an object created from that blueprint.
Standards[edit]
- Define the terms: variable, constant, operator, object.