(A Google search on "java abstraction encapsulation" also yields some good results.)
If you're still stuck, tell us exactly what you're confused about.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
posted 9 years ago
Ok what i understood is abstraction tells you "what the system is doing" and not how it is doing. That is you are not bother about the implementation details how the systems works. Similarly Encapsulation hides the implementation details from the user. So the implementation details is the main problem for me in abstraction you dont bother about the implementaion and in encapsulation you are not allowed to know the implemenation. Both these things seems very much confusing to me. Can you give me some real life example so that i can judge the difference.
The two armies met. But instead of battle, they decided to eat some pie and contemplate this tiny ad: