Object-Oriented Programming

Basic Terminologies

Object: A self-contained entity that consists of both data and procedures to manipulate the data. In C++, An object is an instance of a class. Class: This is the model or standard about the capability of what an object can do Method: Function / procedure inside a class Instance: An Instance is a unique realization of an Object.

Object vs. Instance

I still get this so confused wtf.. they are used extremely interchangeably. Anyways, the distinction between object and instance is not important.

The Four Principles of Object-Oriented-Programming (OOP)

Concepts

Principles / Paradigms