OOP: Everything you need to know about Object Oriented Programming
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.