Please refer to the following link to know the differences between Abstraction and Encapsulation,http://onlydifferencefaqs.blogspot.in/2012/08/oops-difference-faqs-3.html
AbstractionsExample: I have class Animal and i am making a sub class of the class Animal called Tiger.Then i will say that its colour is yellow and running is very fast.Also i can make the class Hippo but it's colour is black and running is very slow.This is an example of Abstraction.Encapsulation:Example: Just think of a capsule that the doctor gives us.We just have to take the capsule to get better. We don't have to worry about what medicine is inside the capsule or how it will work on our body.What it means that we give access to our class via proper methods and properties. The user does not have to worry how this methods and properties work.
love joke aayi export club gift Boxes design art Paper Bag Gift Boxes Apparel Boxes Underwear boxes Euro Tote Bags Hot Stamped Bag Apparel Gift Bags Apparel Bags General Lingerie Box Lingerie Boxes Pillow Pack Boxes Lingerie style gift box Brand Bags Apparel Boxes Window Boxes Resource Branded Boxes Pillow Box Answer Center Wholesale Apparel Box Nested Gift Box Holiday gift bags Christmas Gift Bags Valentine's Day Gift Bags Birthday Gift Bags Children Day Gift Bags Everyday Gift Bags Baby Gift Bags Valentine's Day Gift bags Christmas Valentine's Day gift Box Gift Bag custom packaging
Encapsulation: is the ability to contain and control access to a group of associated items. Classes provide one of the most common ways to encapsulate items. In the example below, the BankAccount class encapsulates the methods, fields, and properties that describe a bank account.
Abstraction: simply means showing only those details to the user which are of use to them , and hiding up the unnecessary portion.