Computer Science, asked by pakashpm787, 6 months ago

. Define Polymorphism and data abstraction.

Answers

Answered by ItzShrestha41
2

Explanation:

  • Abstraction ensures simplicity. Inheritance has to do with methods and functions inheriting the attributes of another class.
  • Polymorphism allows program code to have different meaning or functions while encapsulation is the process of keeping classes private so they cannot be modified by external codes.
Answered by soumya004077
0

POLYMORPHISM

Polymorphism is the ability of a programming language to present the same interface for several different underlying data types. Polymorphism is the ability of different objects to respond in a unique way to the same message.

DATA ABSTRACTION

the process of removing physical, spatial, or temporal details or attributes in the study of objects or systems to focus attention on details ... Wikipedia

Similar questions