Prev Next

Java / OOPS Concepts and its implementation in Java

Difference between data hiding and data abstraction in OOPS.

Data hiding is when the designer specifically decides to limit access to details of an implementation.

Abstraction is when you are dealing with an aggregate, for example, a Car is an abstraction of details such as a Motor, Wheels, brake, etc. Abstractions allow us to think of complex things in a simpler way.

More Related questions...

Show more question and Answers...


Comments & Discussions