JagpalS
New member
- Joined
- Sep 17, 2019
- Messages
- 3
- Programming Experience
- 3-5
I very confused in Abstraction Vs Encapsulation, every explains theoretically different, but i am looking something more practical explanation.
As per my understanding if i am creating a method so whatever code i write inside it ,its called encapsulation and if i declare it as private or public that's abstraction.
But in both case i am hiding something from out side world so how both are different.
As per my understanding if i am creating a method so whatever code i write inside it ,its called encapsulation and if i declare it as private or public that's abstraction.
But in both case i am hiding something from out side world so how both are different.