What is OOP (Object Oriented Programming) and why do we want to do it?
As humans we use language to classify the world around us into abstract sounds and symbols. We classify things like Cats, Dogs, Apples, Students, Employees, Customers, etc. into what makes them up (properties : name, weight, etc) and what they can do (behaviors : walk, work, bark, etc).
Classes in C++ allow us to model our programs in categories of things with properties and behaviors much like we already model the world.
Traditionally with imperative languages that support subroutines, data (properties) and code (behavior) are separate, in the sense that you pass data to subroutines to operate on the data. With object oriented programming, objects manage their internal data and allow only particular operations to be performed on it. This model is closer to how our world works and can help in understanding what the software is doing.
GK Digital is an online, collaborative learning platform built from the ground up to be a superior learning experience on the web. It is self-paced and yet supported by both your peers and instructors. We have reimagined what learning should be in a world full of public information such as blogs, YouTube, etc. GK Digital is professional training in the 21st century.