Why we use OOPS concepts, What is its advantage

Showing Answers 1 - 24 of 24 Answers

oops stands for object oriented programming.It supports abstraction,encapsulation.The concepts of classes and objects hav made OOPS very unique.C++,java are eg of OOPS.Advantages1)Encapsulation-i.e Data hiding ,programmer can ensure that his code is not accessed.Access specifiers like protected,private etc help the purpose2)inheritance-helps in code reusability]3)polymorphism]4)abstraction

R Krishna Prasadh

  • Aug 20th, 2006
 

OOPS is basically Object Oriented Programming. It is not only the the matter of Data Encapsulation & Data Hiding, it also involves in Inheritance and Polymorphism. OOPS also makes a code neat and clean and readeable.

  Was this answer useful?  Yes

chandan

  • Jun 20th, 2012
 

Advantage of OOP:
1. Through inheritance we can achieve reusability. Also eliminate redundant code.
2. The principle of data hiding helps to build secure program.
3. Since java objects represent real world object, so oops provide a clear structure of the program which becomes easy to map real world problem and give solution.
4. It enhances program modularity since each object exists independently.

Surbhi Sneha

  • Apr 11th, 2015
 

Object oriented programming is a concept that was created because of the need to overcome the problems that were found with using structured programming techniques. While structured programming uses an approach which is top down, OOP uses an approach which is bottom up. Traditionally, programming has placed an emphasis on logic and actions.

Object oriented programming has taken a completely different direction, and will place an emphasis on objects and information. With object oriented programming, a problem will be broken down into a number of units. These units are called objects. The foundation of OOP is the fact that it will place an emphasis on objects and classes.

Objects will be defined, and they will interact inside the system in a number of different ways. There are a number of advantages to be found with using the OOP paradigm, and some of these are simple maintenance, an advanced analysis of complicated programs, and re-usability.

There are a number of programming languages that use OOP, and some of these are Java, C++, and Ada. One concept that you will want to become familiar with is data modeling. Before you can construct an object oriented system, you will first need to find the objects within the system and determine the relationships they have. This process is called data modeling.

  Was this answer useful?  Yes

pramod kumar

  • Oct 5th, 2015
 

Reuseability also can be achieved through functions

  Was this answer useful?  Yes

Syed

  • Jul 15th, 2016
 

OOP is a programming technique which is inspired by real life objects, their properties, attributes and their behaviours. Their ability to change forms like a man acting as a father and brother at the same time, a man possessing ability to play cricket and drive a car, like a son inheriting traits of his parents in addition to his own unique traits etc. This type of technique provides excellent logical modularity. It ensures that the code remains neat, clean, readable, reusable, pluggable and eradicates redundancy. It allows the consumers a very manageable process to consume and utilize functionalities by interacting with the instances called objects. These objects encapsulate the entire class and include properties, members, behaviours of not just a single class but bases classes as well. OOP is very easily relatable to real life hence making it easier to understand and use for new programmers.

  Was this answer useful?  Yes

Sid

  • Jul 15th, 2016
 

OOP is a programming technique which is inspired by real life objects, their properties, attributes and their behaviours. Their ability to change forms like a man acting as a father and brother at the same time, a man possessing ability to play cricket and drive a car, like a son inheriting traits of his parents in addition to his own unique traits etc. This type of technique provides excellent logical modularity. It ensures that the code remains neat, clean, readable, reusable, pluggable and eradicates redundancy. It allows the consumers a very manageable process to consume and utilize functionalities by interacting with the instances called objects. These objects encapsulate the entire class and include properties, members, behaviours of not just a single class but bases classes as well. OOP is very easily relatable to real life hence making it easier to understand and use for new programmers.

  Was this answer useful?  Yes

Anand Sami

  • Oct 7th, 2016
 

Everything is an objects, so we are using the Oops concepts

  Was this answer useful?  Yes

Uday

  • Aug 24th, 2017
 

In Software developement, we provide solutions to real life problems of people, but real life is not procedural in real life there are objects dealing with objects and object ahve some basic characteristics hence arised object oriented approach.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions