This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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
Boost this thread!