• Post Reply Bookmark Topic Watch Topic
  • New Topic

encapsulation and abstraction  RSS feed

 
sambit sahu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
can some body help me out.....
what is the difference between encapsulation and abstraction?
 
badri nath
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi sahu
Encapsulation is the mechanism that binds together code and the data it manipulates and keeps both safe from outside interference and misuse where as hiding the data so that programmers can manipulate the data easily is termed as Abstraction.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!