Difference between revisions of "Object"
esse quam videri
(→Definition) |
(→Explanation) |
||
Line 9: | Line 9: | ||
=Explanation= | =Explanation= | ||
− | + | Like a program or class type, ''objects'' have variables and methods - but the added benefit of an object is that it can be ''invoked'' or ''instantiated'' like a method! | |
− | |||
=Resources= | =Resources= |
Revision as of 23:51, 8 August 2019
Contents
Definition
Objects are instances of a particular class or subclass that is able to use that class's own methods or procedures and data variables.
In object-oriented programming (OOP), programs are designs with objects in mind - they are the centerpiece in constructing your units of code! The object is what actually runs in the computer.
Relevance
Explanation
Like a program or class type, objects have variables and methods - but the added benefit of an object is that it can be invoked or instantiated like a method!