What is abstraction and encapsulation give real life example?
What is difference between abstraction and encapsulation in C# with example?
Difference between Abstraction and Encapsulation.
|Abstraction is used for hiding the unwanted data and giving onlyrelevant data.||Encapsulation is hiding the code and data into a single unit toprotect the data from outer world.|
What is the difference between abstraction and abstract class?
What is the difference between polymorphism and abstraction?
David Nilsen is the former editor of Fourth & Sycamore. He is a member of the National Book Critics Circle. You can find more of his writing on his website at davidnilsenwriter.com and follow him on Twitter as @NilsenDavid.