answersLogoWhite

0


Best Answer

Object-oriented programming is an extension of structured programming (and, previously, procedural programming). An object essentially combines a data set and the procedures that can act upon that data into a single entity. The object can be declared to expose as much or as little of the actual data outside of the class, thus minimising the potential for invalidating the data.

The procedures (member methods) that act upon the data (member variables) generally include: mutators to set the data and, optionally, to validate incoming data; operations to modify the data in a controlled manner and; accessors to retrieve the data (either the data itself or, more commonly, a copy of the data). In addition, constructors allow the data to be initialised in a uniform manner while a destructor can be used to clean up any memory allocations used by the class.

Consumers of an object need not concern themselves with how the data is physically stored within the object, nor in how it is manipulated by the object. Consumers are only concerned with setting the data, modifying the data and retrieving the data. The object itself takes all responsibility for ensuring the data remains in a valid state at all times, and safely hides it from potential harm outside of the object.

As with structured programming, highly complex data structures can be created whereby objects contain other objects as data members. Objects may also contain lists (arrays, vectors, etc) of objects as members, allowing vast trees and forests of objects to be created and manipulated in a highly-controlled manner (the implementations being defined by the individual objects themselves).

Objects may also inherit members of existing objects to create new objects, vastly reducing the need for duplicate code, and therefore reducing the maintenance overhead. In addition, when an inefficiency comes to light, implementations can be modified to improve the efficiency without the risk of breaking code outside of the object.

In a nutshell, object oriented programming allows us to model real-world objects in as much or as little detail as we require, in ways that would have been difficult using procedural programming methods alone. It is not a magic bullet for every problem a developer might face. Selecting the right tool for the job should always be the first consideration, but when it is appropriate to use OOP and the underlying object designs are sound, the end result will be highly robust code that is considerably easier to maintain than the equivalent procedural code would have been.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Object-oriented programming can't be explained in one or two paragraphs. You may have to do quite a bit of reading, and practice, before you grasp the basic concepts - including the advantages of OOP.

The literal meaning is that much of your program is organized into structures called "classes". You define classes as templates, and then create objects based on those classes.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

Object-oriented design is the process of planning a system on interacting objects to help solve a software issue. It is a useful process in software designing.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Lining yourself up with the object.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does it mean to be object oriented?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What actually mean by object oriented programming Is C plus plus is a object oriented programming?

Just eat a watermellon!


Is c is complete object oriented programming language?

No. C is not object oriented. C++ is object oriented.


What does object oriented and procedural mean in programming language?

procedure oriented means program will be execte in step by step procedure,when comes to object oriented means every thin can be represents the object a step[ step procedure doesnot follow


What is the distinct difference between object oriented concept and object oriented programming?

Object oriented concepts are a generalisation of the object oriented principals (encapsulation, inheritance, polymorphism and abstraction) without specifying a particular implementation of those principals. Object oriented programming is the application of those principals through an object oriented programming language.


What object oriented system development?

What is object-oriented systems development


What is Object Oriented System Development?

What is object-oriented systems development


What are Object oriented questions in social work?

Object oriented questions


Is c plus plus is pure object oriented?

No. C is not object-oriented, it is a procedural language.C++, while object-oriented, is not purelyobject-oriented. One of the requirements for a pure object-oriented language is that everything is an object. C++ still has primitive data types (int, long, double, etc.), and so is not purely object-oriented.


What are the impact of object oriented on software industry?

what are the impact object oriented on software industry


Brief description of object oriented life cycle?

object oriented life cycle


Advantages and disadvantages of object oriented databases?

advantages of object oriented data base


Difference object oriented language object based language?

object base: that are not use subtype or inheritence is called object base. object oriented: that use subtypes and inheritence is called object oriented e.g vb.net and java.