Hi,
Abstraction does encapsulation. Then why there is a separte topic encapsulation.
Most of the interviewers ask this question.
I know
Abstraction shows only essential features and hides complexsity.
Encapsulation hides complexsity.
Then why naming it as encapsulation and confusing.
Loading
Manish Kumar ChoudharyPosted Feb 28, 2015, 1:16 AM
Go through following links it will help you
http://beginnersbook.com/2013/03/oops-in-java-encapsulation-inheritance-polymorphism-abstraction/ http://www.researchgate.net/post/Can_someone_help_with_a_definition_of_information_hiding_and_encapsulation