What is Abstraction and what is its benefit?
Short Answer
Views 14
Answer:
Abstraction hides unnecessary details and shows only essential features.
Benefits:
-
Reduces complexity
-
Makes code easy to use
-
Protects data
-
Improves security
-
Allows focusing on “what it does” rather than “how it does”
Example:
Operating a mobile phone → you press buttons without knowing internal circuits.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.