Forums Register Login

abstraction v/s encpsualtion

1
+Pie Number of slices to send: Send
hey guys,

I read this book which says that abstraction is a thought process and encapsulation is an implementation of abstraction.
It also said that encapsulation is a language feature while abstraction is not.
I dont have much ooad knowledge but as I know abstraction is using something without needing to know how it works. So i assumed it was the ability to use a method without needing to know how it is implemented. So I always had the Idea that abstraction is an implementation. I jumped straight into the coding part without giving much importance to basics. but i am reviewing these things as I read that it is the design part that you have to concentrate before the coding part to develop good software..

So I would like to know How abstraction is a thought process. Now Im totally confused about the diff bw abstraction and encapsulation itself.


+Pie Number of slices to send: Send
I will never like to learn anything this way (theoretically) .You are trying to learn java, so i think it will be good to write some java codes to learn anything, with time you will get that.
Attractive, successful people love this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 741 times.
Similar Threads
a very Basic OOP Doubt
Difference b/w Abstraction and Encapsulation
Abstraction and Encapsulation
encapsulation & abstraction
Oops concept
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:28:38.