Object-Oriented Programming

Contact Us or call 1-877-932-8228
Object-Oriented Programming

Object-Oriented Programming

Object-oriented programming, often abbreviated as "OOP", is a coding paradigm centered on the idea of an "object". Objects have properties or fields relevant to themselves: a "person" object, for instance, might have attributes for "name", "address", "occupation", etc.

Objects also have methods: these are functions that can get or set the values of the object's attributes and offer a mechanism for messaging between objects and other code. A "bank account" object, for instance, might have a "balance" attribute (storing the amount of money currently in the account) and a "doDeposit" method, which accepts an "amount" parameter and increments the balance attribute accordingly.

Next