90 likes | 425 Views
OBJECT ORIENTED ANALYSIS & DESIGN. Vassilka Kirova Department of Computer & Information Science NJIT. Introduction. What is object-oriented? What is an object?. What is Object-Oriented?.
E N D
OBJECT ORIENTEDANALYSIS & DESIGN Vassilka Kirova Department of Computer & Information Science NJIT
Introduction What is object-oriented? What is an object?
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. <Yourdon> • components = “objects”
“Object” <Martin> • An object is a thing real or abstract about which we store data and those methods which manipulate the data.
“Object” <Jacobson> • An object is characterized by a number of operations and a state which remembers the effect of these operations.
“Object” <OMG> • 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.
“Object” <Booch> • 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.
“Object” <Coad, Yourdon> • 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.
Key Characteristics of OO Methods • abstraction <=> generalization-specialization; aggregation-decomposition • inheritance <=> generalization hierarchies • encapsulation <=> data capsule • message passing <=> communication