Presentation is loading. Please wait.

Presentation is loading. Please wait.

OBJECT ORIENTED ANALYSIS & DESIGN Vassilka Kirova Department of Computer & Information Science NJIT.

Similar presentations


Presentation on theme: "OBJECT ORIENTED ANALYSIS & DESIGN Vassilka Kirova Department of Computer & Information Science NJIT."— Presentation transcript:

1 OBJECT ORIENTED ANALYSIS & DESIGN Vassilka Kirova Department of Computer & Information Science NJIT

2 Introduction What is object-oriented? What is an object?

3 What is Object-Oriented? A system built with object-oriented methods is one whose components are encapsulated chunks of data and function, which can inherit attributes and behavior from other such components, and whose components communicate via messages with each other. components = “objects”

4 “Object” An object is an abstraction of a set of real- world things such that –all the things in the set - the instances - have the same characteristics, and –all instances are subject to and conform to the same set of rules and policies.

5 “Object” An object is a thing real or abstract about which we store data and those methods which manipulate the data.

6 “Object” An object is characterized by a number of operations and a state which remembers the effect of these operations.

7 “Object” An object is a thing. It is created as the instance of an object type. Each object has a unique identity. Each objects offers one or more operations.

8 “Object” An object has –state, –behavior, and –identity. The structure and behavior of similar objects are defined in their common class. The terms instance and object are interchangeable.

9 “Object” OBJECT: An abstraction of something in a problem domain, reflecting the capabilities of the system to keep information about it (attributes, states) and interact with it (services). CLASS: A collection of one or more objects with a uniform set of attributes and services, including a description of how to create new objects in the class.

10 Key Characteristics of OO Methods abstraction generalization-specialization; aggregation-decomposition inheritance generalization hierarchies encapsulation data capsule message passing communication

11 OO Methods promote Reuse –through specialization: class libraries –on higher levels –new concept of “design” Polymorphism –operation can apply to several types –implementation: inheritance & abstract classes

12 OO Methods promote Prototyping –fast development –reuse –no change of paradigm in the life cycle (?) Distribution –encapsulation –communication by message passing


Download ppt "OBJECT ORIENTED ANALYSIS & DESIGN Vassilka Kirova Department of Computer & Information Science NJIT."

Similar presentations


Ads by Google