This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OOP Concept

 
Paulo Aquino
Ranch Hand
Posts: 202
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone explain to me in layman's term the concept of ABSTRACTION and ENCAPSULATION? Hope you can help me thanks...
 
santhoshkumar samala
Ranch Hand
Posts: 156
Eclipse IDE Hibernate Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abstraction:
It is simply hiding the complexity.as such that we never think computer as a set of transistors and chips but we think it as system consists of CPU,Monitor,Keyboard etc, this makes the user task simple.
Encpsulation:
This binds the code and the data it manipulates
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you haven't already done so, let me suggest a quick search on this forum for these two topics. I know I've seen a few good explanations in the past.
Note that the search page link is at the top-right of this page.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic