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.
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.