OOP: Everything you need to know about Object Oriented Programming

Skrew Everything
From The Scratch
Published in
12 min readMar 21, 2018

--

Vote for next post or mention what do you want to see next here:

What is Object Oriented Programming (OOP)?

An object-oriented programming is a way programming which enables programmers to think like they are working with real-life entities(a thing with distinct and independent existence) or objects. In real-life, people have knowledge and can do various works. In OOP, objects have fields to store knowledge/state/data and can do various works — methods.

Basic Terminologies:

Object:

It’s the instance of a class/ it’s the working entity of a class.

Class:

It is a template or blue print about the capability of what an object can do.

Method:

The behaviours of a class. It tells what a method can do.

Instance:

--

--

Skrew Everything
From The Scratch

A wannabe artist 👨‍🎨, but can’t draw 😫. A wannabe athlete 🏃‍♂️,but can’t run 🥵.Found my peace with coding 👨‍💻 and writing ✍️. Twitter.com/SkrewEverything