74.0k views
0 votes
"abstraction" is often used to focus on a general case and ignore a specific instance of a problem. Given this meaning of the word, how do you apply this in programming

1 Answer

5 votes

Answer:

Abstraction is the process of removing or taking away certain characteristics to reduce or hide several very important characteristics.

In OOP (Object Oriented Programming), to increase efficiency and reduce complexity, a programmer hides certain vital data about an object. This is abstraction in programming.

For further clarification, a programmer ensures that the name given to an entity makes sense and most importantly, that it carries relevant aspects, and non essential parts are not included.

User Jamie Counsell
by
4.0k points