hi, when we use encapsulation,where we have used exactly.what the main purpose of encapsulation?what the main advantage of encapsulation in java? plz reply anybady regards chenna