You are on page 1of 1

datahiding ---->

public class Account


{
private double balance;
}
public double getBalance()
{
if validation
return balance
}

Abstraction----
Hiding internal information and highlighting set of relevant services.

Eg. Through Bank atm gui screen , bank people are highlighting the set of
services what they are offering without highlighting internal implementation

You might also like