This preview shows page 1. Sign up to view the full content.
Unformatted text preview: o a super-class.
Advantages of OOP
Object-oriented programming paradigm typically has the advantages mentioned
below over conventional procedure-oriented programming paradigm.
OOP resembles the real worlds more closely than the conventional procedural
programming. Hence it serves as more natural modeling tool for programming real
world problems. Object-oriented design (often referred to a OOD) involves the
identification and implementation of different classes of objects and their
behaviors. The objects of the system closely correspond to the real world objects,
as is observed and understood by the brain The effort required in the conventional
procedural languages, for the translation or transformation of the fact perceived by
the brain into some other form suitable to the system, gets greatly reduced with
OOP. Hence designing and implementing a system is much easier in OOP.
In OOP, objects are autonomous entities in the sense that the behavior of each
object is defined and implemente in the object itself and is independent of the
implementation of other objects. This independence of each object naturally
provides the facility of modular system design. Object-oriented design (OOD), is
an approach to software design in which the modular decomposition of a system is
based on the classes of objects the system manipulates, not on the function the
system performs. Modular design eases the development and maintenance of
Abstraction Abstraction is the principle that states that programs should not make assumptions
about implementations and internal representations. In OOP, each object can be
viewed as a shielded and encapsulated entity because its data is private to itself
(hidden from other objects) and its interaction with other objects is only through
its message interface. Any object can be requested for any required information or
service by sending the suitable message t it. The requester gets what it asked for
without the need to bother about how the object provides the inform...
View Full Document
This document was uploaded on 04/07/2014.
- Spring '14