| Author |
Encapsulation
|
akshay dev
Greenhorn
Joined: Nov 08, 2012
Posts: 19
|
|
|
Can anyone give me a link for encapsulation? I didnt understand it very well.
|
 |
Kevin Florish
Ranch Hand
Joined: Jan 06, 2009
Posts: 155
|
|
|
This may help with a basic understanding of Encapsulation.
|
HTML/CSS Tutorials | JavaScript and jQuery Tutorials
|
 |
Himai Minh
Ranch Hand
Joined: Jul 29, 2012
Posts: 312
|
|
Encapsulation: an object "keeps" its attributes and values, which are not known to other objects.
Usually, use private for these attributes and use getter to get them.
|
 |
Adriano Ribeiro
Greenhorn
Joined: Nov 16, 2012
Posts: 7
|
|
|
Michael Lee Scott, Programming language pragmatics, Edition 2, Morgan Kaufmann, 2006, ISBN 0126339511, p. 481: "Encapsulation mechanisms enable the programmer to group data and the subroutines that operate on them together in one place, and to hide irrelevant details from the users of an abstraction."
|
 |
Rahul mir
Ranch Hand
Joined: Oct 31, 2012
Posts: 38
|
|
Encapsulation refers to the bundling of data with the methods that operate on that data.
http://www.javaworld.com/jw-05-2001/jw-0518-encapsulation.html
|
 |
 |
|
|
subject: Encapsulation
|
|
|