Chapter 1
Chapter 1
Introduction
1.1. introduction
change.
development.
What is system development?
Modeling
Design
Implementation
Testing
maintenance
What is software development methodology?
Collection of procedures(functions)
Increases complexity
Traditional approach object vs.
Oriented system development..
13
Why An object orientation……?
Object-oriented approach:
We use the same language to talk about analysis, design,
programming and database design.
It returns the level of complexity and re boundary, which
makes clearer and robust system development.
14
3. Encouragement of good programming techniques:
15
1.5 Basic concept of object
WHAT IS AN OBJECT ?
17
In an OO system, a method or behavior of an object is defined
by its class
Each object is an instance of a class
18
19
object behavior is described in methods or procedures
a method = a function or procedure that is defined for a
class and typically can access the internal state of an object
of that class to perform some operation
operations are things an object does or can have done to it
in an object model, all data is stored as attributes of some
object
20
CONCEPT OF MESSAGES
Objects interact with each other by sending and receiving messages
Messages are similar to procedure calls in traditional programming
languages
Objects perform operations in response to messages
Ex : when you press on the brake pedal of a car, you send a STOP
message to the car object. The car object knows how to respond to the
STOP message
21
ENCAPSULATION & INFORMATION HIDING
Information hiding is the principle of concealing(hiding) the
internal data and procedures of an object and providing an
interface to each object in such a way as to reveal as little as
possible about its inner workings
22
Encapsulation or information hiding is a design goal of an
OO system
In object-oriented system, everything is an object and each
object is responsible for itself.
23