This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes abstraction v/s encpsualtion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "abstraction v/s encpsualtion" Watch "abstraction v/s encpsualtion" New topic
Author

abstraction v/s encpsualtion

thejwal pavithran
Ranch Hand

Joined: Feb 11, 2012
Posts: 118
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.



on job hunt
Enkita mody
Ranch Hand

Joined: Aug 06, 2012
Posts: 333

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.


OCA7
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: abstraction v/s encpsualtion