Computer Science, asked by lakshyasri85, 6 months ago

What is abstraction? How it is different from inheritance?

Answers

Answered by Anonymous
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 sv576439
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