What is Oops?

jayalaxmi By jayalaxmi, 22nd Oct 2014 | Follow this author | RSS Feed
Posted in Wikinut>Jobs>Training

Oops stands for Object Oriented Programming and how to use oops concepts in programming

Object Oriented Programming

It is an approach that came into existence in 70th to resolve the drawbacks of traditional procedural approach i.e. security and reusability.
Object Oriented Languages provides Security and Reusability under them we can call a language as OO provided it satisfied the principals of the approach, those are
1. Encapsulation.
2. Abstraction.
3. Inheritance.
4. Polymorphism.

1.Encapsulation

As per Encapsulation the code (members) of an OOP has to be enclosed under a wrapper or continuer known as class that provides basic security for contain that is present inside it.

2. Abstraction

Abstraction is all about hiding the complexity, behind the code by providing a set of interfaces used for consuming the functionality. Methods are the best example for abstraction because we never know what is the underling code in it, what we required to know only how to invoke it.

3. Inheritance

Inheritance provides code reusability which can be used for consuming members of a class from other class by stabilizing parent/child relation between classes.

4. Polymorphism

Polymorphism is an approach which tells entities behaves in different ways depending upon the inputs it receives i.e. whenever the input changes the output and the behavior of the entity also changes, which can be implemented using approaches like Overloading and overwriting.

Tags

Abstraction, Class, Encapsulation, Inheritance, Object, Object Oriented Programming, Oops, Oops Features, Oops Program, Polymorphism

Meet the author

author avatar jayalaxmi
myself jayalaxmi from bangalore and i'm a software engineer i like to share my knowledge with other.

Share this page

moderator Steve Kinsman moderated this page.
If you have any complaints about this content, please let us know

Comments

Add a comment
Username
Can't login?
Password