Question

In: Computer Science

Describe the types of hierarchy found in object-oriented systemdescriptions.

Describe the types of hierarchy found in object-oriented system descriptions.

Solutions

Expert Solution

The type of hierarchy found for the object-oriented system is as follows:

1) Is-a hierarchy:

As per the behavior and the state where the level of classes are considered . It helps the lower level of classes to be built on top of the higher level of classes.

2) Part-OF hierarchy:

This is done via aggregation.

Here the objects are very large

3) Hasa Hierarchy:

This is meant for the code organization where the objects are involved in containing other objects.


Related Solutions

What are the object oriented concepts and which all object oriented concepts are used in the...
What are the object oriented concepts and which all object oriented concepts are used in the given program? Consider the following code and explain how each of the object oriented concepts are applied in the given program. (CO1) class Vehicle { string brand; public: void honk(); void honk(int); }; void Vehicle::honk() { cout << "Tuut, tuut! \n" ; } void Vehicle::honk(int x) { for(int i=0;i<x;i++) cout << "Tuut, tuut! \n" ; } int main() { Vehicle V1; V1.honk(); V1.honk(3); }
-What is object-oriented programming? -What is a class? -What is an object? -A contractor uses a...
-What is object-oriented programming? -What is a class? -What is an object? -A contractor uses a blueprint to build a set of identical houses. Are classes analogous to the blueprint or the houses? Explain. -What is a class diagram? How is it used in object-oriented programming? -What is an attribute in OOP? What is a data member? -What is a method in OOP? What is a member function? -What is the difference between private members and public members of a...
Describe how you would develop object-oriented features of Java for the Quiz program developed in the...
Describe how you would develop object-oriented features of Java for the Quiz program developed in the Programming Assignments. In particular, describe how the program could use each of the following: class variables, instance variables, inheritance, polymorphism, abstract classes, "this", "super", interfaces, and event listeners.
Describe how you would develop object-oriented features of Java for the Quiz program developed in the...
Describe how you would develop object-oriented features of Java for the Quiz program developed in the Programming Assignments. In particular, describe how the program could use each of the following: class variables, instance variables, inheritance, polymorphism, abstract classes, "this", "super", interfaces, and event listeners. Your Discussion should be at least 250 words in length, but not more than 750 words. Once you’ve completed your initial post, be sure to respond to the posts of at least 3 of your classmates.
1. In Object Oriented Programming The private object fields can be directly manipulated by outside entities....
1. In Object Oriented Programming The private object fields can be directly manipulated by outside entities. Group of answer choices A. True B. False 2. __________ programming is centered on the procedures or actions that take place in a program. Group of answer choices A. Class B. Object-oriented C. Menu-driven D. Procedural/ Structural 3. __________ programming encapsulates data and functions in an object. Group of answer choices A. Object-oriented B. Class C. Menu-driven D. Procedural 4. The data in an...
Prepare an object-oriented model representing A soft-drink machine
Prepare an object-oriented model representing A soft-drink machine
Explain Basic Characteristics of Object Oriented System Analysis & Design.
Explain Basic Characteristics of Object Oriented System Analysis & Design.
1. Name key elements of Object-Oriented systems 2. Briefly describe three steps of the Analysis Phase....
1. Name key elements of Object-Oriented systems 2. Briefly describe three steps of the Analysis Phase. 3. Briefly describe major elements of the Structural Models in OOD with UML.
summer/** * This Object-Oriented version of the "Summer" class * is a simple introduction to constructors...
summer/** * This Object-Oriented version of the "Summer" class * is a simple introduction to constructors / * private data members / static vs. not static / and the * "toString" method. * * SKELETON FOR LAB TEST. * * @author Raymond Lister * @version April 2015; */ public class SummerOO { public static int numSummers = 0; // The above variable is used to count the number of // instances of the class SummerOO that have been created. //...
Post #1: Describe the types of information that will be found in a Medical Record at...
Post #1: Describe the types of information that will be found in a Medical Record at least one example of each by Wednesday HINT: Financial information would contain insurance plan information and other information necessary for billing. Post #2: Describe how an EHR can be beneficial for meeting meaningful use by Sunday
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT