SOFTWARE DESIGN
OBJECT ORIENTED DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Attributes, behavior and operations
|
|
Identity, behavior and state
|
|
Attributes, operations, and relationships
|
|
Relationships, operations (actions) and multiplicity
|
Detailed explanation-1: -5) A is a description of a set of objects that share the same attributes, operations, relationships, and semantics. Explanation: Classes are the most important building blocks of any object-oriented systems. Classes are used to capture the vocabulary of the system you are developing.
Detailed explanation-2: -A class defines the structure and behavior (data and code) that will be shared by a set of objects. For example, a car as a class has characteristics like steering wheels, seats, breaks, etc.
Detailed explanation-3: -A class is a template for objects. A class defines object properties including a valid range of values, and a default value. A class also describes object behavior. An object is a member or an “instance” of a class.
Detailed explanation-4: -The statement given is true the class is the collection of similar objects. When objects in the program are grouped together it’s known as class. In class the objects belonging are of the same type of data. All the objects contained in the class are sharing unique features and characteristics.