• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

abstraction v/s encpsualtion

 
Ranch Hand
Posts: 158
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Ranch Hand
Posts: 333
Firefox Browser Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Nothing? Or something? Like this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic