aspose file tools
The moose likes Beginning Java and the fly likes What is encapsulation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "What is encapsulation" Watch "What is encapsulation" New topic
Author

What is encapsulation

subhashis sarangi
Greenhorn

Joined: Nov 03, 2006
Posts: 3
Hi

What is encapsulation ? and how do we achive it? does it means data hiding or binding or just implementation hiding ?

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
A quick Google will find you many subtly different definitions. Wikipedia doesn't even have Encapsulation as a topic ... it's mentioned along with Information Hiding. See if what they say rings true to you. And follow that link to people who think there should be more distinction.
[ November 11, 2006: Message edited by: Stan James ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Not an advanced question. Moving...


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is encapsulation
 
Similar Threads
can we achieve data hiding withe the help of encapsulation...
Abstraction and Encapsulation
Encapsulation in java
BJO - information hiding v/s encapsulation
Field hiding