What is abstraction? How it is different from inheritance?
Answers
Answered by
2
Answer:
Answer:The act of obtaining or removing something from a source : the act of abstracting something. formal : a general idea or quality rather than an actual person, object, or event : an abstract idea or quality.
Inheritance is for inheriting properties and having some of its own as well. Abstract is to restrict from being instantiated.
Explanation:
mark brainlist answer
please follow me
press thanks button
Answered by
0
Explanation:
Abstraction ensures simplicity. Inheritance has to do with methods and functions inheriting the attributes of another class. Polymorphism allows program codes to have different meaning or functions while encapsulation in the process of keeping classes private so thay cannot be modified by external codes.
Similar questions
Chemistry,
3 months ago
Business Studies,
3 months ago
Political Science,
3 months ago
Math,
6 months ago
Math,
10 months ago
Math,
10 months ago