SOFTWARE ENGINEERING

SOFTWARE DESIGN

OBJECT ORIENTED DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Polymorphism can be described as:
A
Hide various settings based on the same interface
B
Different properties and methods of subclasses having the same superclass
C
Association classes with {or} constraint
D
Generalization of inherited subclasses
Explanation: 

Detailed explanation-1: -Interfaces allow us to define polymorphism in a declarative way, unrelated to implementation. Two elements are polymorphic with respect to a set of behaviors if they realize the same interfaces.

Detailed explanation-2: -7.3. Polymorphism is another fundamental concept in OOP, which means multiple forms. Polymorphism allows the use of a single interface with different underlying forms, such as data types or classes. For example, we can have commonly named methods across classes or child classes.

Detailed explanation-3: -Ad hoc polymorphism: defines a common interface for an arbitrary set of individually specified types.

There is 1 question to complete.