Database - Object-Oriented Data Modeling - Discussion

Discussion Forum : Object-Oriented Data Modeling - General Questions (Q.No. 1)
1.
The fact that the same operation may apply to two or more classes is called what?
Inheritance
Polymorphism
Encapsulation
Multiple classification
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
5 comments Page 1 of 1.

Megha said:   9 years ago
Poly means many and morphism means forms. Same operation in many forms called polymorphism.

Prashant said:   1 decade ago
The above mentioned point is a reference to function overriding which is a form of polymorphism. Hence in this case the answer is polymorphism

Prashant said:   1 decade ago
The point here is not related to an object but related to an operation, which in programming terminology is pointing to a method. A parent and child class both can have the same method but depending on the class that has invoked the method, the functionality of the method would be defined accordingly .

Shamim said:   1 decade ago
Polymorphism is the property of an object, i.e. an object can behaviour is same different Classes.

Abhilasha said:   1 decade ago
Polymorphism is the property of an object, i.e. an object can behave differently in different Classes.

Post your comments here:

Your comments will be displayed after verification.