Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

fundamentals

 
saisailaja bharadwaj
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is meant by Abstraction and Encapsulation
with ex
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi saisailaja,
to me..
Abstraction: it is an 'abstract' (incomplete/non-concrete) representation of some behavior...
Encapsulation: it is a mechanism to bundle things together in one object and "wrap" those things so that they can't be seen by others directly...
i will be poor in explaining if i try in details...
but this might be more helpful..
go to "encapsulation" hyperlink in there...
regards
maulin.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic