Computer Science, asked by hruthikreddynar4570, 2 months ago

What is the type of relation between Cycle and Bi-cycle? Select one: Composition , Realization ,Generalization ,Aggregation

Answers

Answered by nidaeamann
3

Explanation:

Among the various options given in question statement the correct option is the last one.

The relation between cycle and bicycle in UML is an example of aggregation.

An aggregation relationship is one in which an object of one class can own or access the objects of another class. Here the object in cycle or bicycle is the wheel which is the common part yet the main part

Answered by kumarnikhil3210
12

Answer:

The correct answer is: Generalization

Explanation:

Bi-cycle is a type of Cycle. So Cycle is generalized class and Bi-cycle is specialized class.

Similar questions