Skip to main content

OOPS!!!

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

Comments

Popular posts from this blog

Let’s keep it short….again

Let’s keep it short….again The world is full of people who are full of Fear of Failure which doesn’t allow them to move steadily and think positively. But many of them don’t know that Fear is a Big Liar. Because Fear shows you fake reality about your own self that — ”You can’t do this thing”. Instead people should fake their fear by repeatedly saying this — ”At least I can try!!!” Because there is no sense at all to not do the particular thing just because you have never done it earlier. Try Again…Fail Again…Fail Better!!!😎 Kudossss To Fearless You…

Grateful 24/7/365

Grateful 24/7/365 The super basic problem with most of us is that we are not  grateful  for the life we all are living in currently. And the super duper solution for all of our this problem is to be  grateful enough for the life that we all got. Now to do that we can follow this simple phenomenon called -  Attitude of Gratitude. Many of us don’t even know How to be Grateful? So the best answer for this is: Becoming grateful and thankful for the smallest of things in your life is the best way to achieve the  Attitude of Gratitude. What to do with so much of Attitude of Gratitude? Many people even ask this silly but interesting question - that what we will get in return or what is the outcome of showing so much  gratefulness . So the best and interesting answer for this is: Keep yourself busy and focussed on your  attitude of gratitude , which will eventually make way for disappointments ...

That Winning Moment!!!

That Winning Moment!!! You are just a thought away from the fact that the penultimate thing we all want in our career is that winning moment and the motivation to carry that winning momentum all through outside and inside our career span. Let’s take a sneak peek of what can be some of the greatest winning moments. * That Bird who assembles the Nest: Have you ever thought about that little bird who is continuously collecting those tiny little wooden sticks to assemble or make home for her young ones to keep there and feed there. How great that  moment  will be for that bird, when she place that final wood stick on her assembled nest to finish that small yet hardworking activity. The bird can die for that type of winning moment!!! * That college boy who got placed in an interview: Everyone of you have definitely been through that phase of your graduation or school-life where you got selected for sitting in ...