Code#3 : OOPS!!!

From Simula 67 to Kotlin…OOPS is the base of every programming language.

Whether you are a new-born programmer or veteran and experienced one, each of us has to go through this Most Frequently Asked Question of all time in any interview related to the programming language i.e What is OOPS Concepts?.

So Let’s break down the concept of OOPS and make it as simple as anything you have ever known.

Note: Freshers Alert!!! Just dig deep into this basic and most fundamental concept of all time.

OOPS(Object Oriented Programming System)

Let’s get started understanding this concept by breaking it down in pieces or we can say word by word.

1) Object : a material thing that can be seen and touched.

2) Oriented : tailor or adapt (something) to specified circumstances.

3) Programming : provide (a computer or other machine) with coded instructions for the automatic performance of a task.

4) System : a set of principles or procedures according to which something is done; an organized scheme or method.

So mixing it up as a whole we’ll get something like this :

“ Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. “

Features of Object Oriented Programming System(OOPS)

So, before being or becoming a developer, we are first Human Beings and as the most basic trait of any Human Being we all wants to know the Feature of each and everything that we come across.

So here are the Top Features provided by OOPS Concept :

  1. Objects :

Object is any entity that has some characteristics such as state and behavior. For example : Person, Clothes, Shoes, Bag, Vehicles, Chair, Table, Pen, Pencil, House, Flats, Devices and everything else.

2. Classes :

A Class is something which is made up of collection of Objects and basically possess all the logic inside it. For Example : A School(collection of Students), An Office(collection of Employees), A Car(collection of physical parts) and everything else.

3. Inheritance :

Different kinds of objects often have a certain amount in common with each other. Cars, Motorcycles, Buses, and Trucks, for example, all share the characteristics of Vehicles (Tyre, current pedal cadence, current gear). Yet each also defines additional features that make them different: tandem bicycles have two seats and two sets of handlebars; road bikes have drop handlebars; some mountain bikes have an additional chain ring, giving them a lower gear ratio.

4. Encapsulation :

Encapsulation is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a single unit. In encapsulation, the variables of a class will be hidden from other classes, and can be accessed only through the methods of their current class. Therefore, it is also known as data hiding.

5. Polymorphism :

Polymorphism is a concept by which we can perform a single action by different ways. Polymorphism is derived from 2 Greek words: poly and morphs. The word “poly” means many and “morphs” means forms. So polymorphism means many forms.

6. Abstraction :

Abstraction is the process of abstraction in Java is used to hide certain details and only show the essential features of the object. In other words, it deals with the outside view of an object.

And Finally if you want to know much more deep into this OOPS thing, just Google it and go through each and every site for better understanding of it.

It has way many things in detail to clear the Dark Clouds of OOPS Concept and lots of sources to find the answer.

So just Bring it on the Creative Brain of yours to win this from all over.

Please let us know if some better example can be given or shown above to provide better and interesting one.

OOPS!!! to Kudosssss