Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

abstraction v/s encpsualtion

 
thejwal pavithran
Ranch Hand
Posts: 119
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Enkita mody
Ranch Hand
Posts: 333
Firefox Browser Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic