Abstraction vs Encapsulation

By |2019-04-13T10:41:56+08:00February 17th, 2015|C#, OOP|1 Comment

Abstraction vs Encapsulation is one of the most confusing concept for new developers. I have seen even experienced developers getting confused over the question, that what is the difference between abstraction and encapsulation? Both these concepts seem related to data hiding and many people use them interchangeably which results in increasing this confusion even more. Let’s try to understand the difference between abstraction and encapsulation in this article. Abstraction If you search for Abstraction on Wikipedia, you will come [...]