Raj,
There are several advantages of encapsulation.
The primary advantage is data access and managing data for a specific entity/Object.
Encapsulation allows you to bind the data within the object and provides set of operations to manipulate the data.
I'm not sure whether you are happy with my answer but you'll understand practically if you write one C program and
java program for same requirement like managing employee data.
Thanks,
Sam