Object Oriented Design
Object Oriented Design
Object-oriented design is the process of planning a system of interacting objects for the
purpose of solving a software problem. It is one approach to software design.
From a business perspective, Object Oriented Design refers to the objects that make up
that business. For example, in a certain company, a business object can consist of people,
data files and database tables, artifacts, euipment, vehicles, etc.
Object-oriented concepts
!he " basic concepts of object#oriented design are the implementation level features that
are built into the programming language. !hese features are often referred to by these
common names$
Object%&lass$ ' tight coupling or association of data structures with the methods or
functions that act on the data. !his is called a class, or object (an object is created
based on a class). *ach object serves a separate function. It is defined by its properties,
what it is and what it can do. 'n object can be part of a class, which is a set of objects
that are similar.
Information hiding$ !he ability to protect some components of the object from
external entities. !his is reali+ed by language keywords to enable a variable to be
declared as private orprotected to the owning class.
Inheritance$ !he ability for a class to extend or override functionality of
another class. !he so#called subclass has a whole section that is the superclass and
then it has its own set of functions and data.