Chapter 5: Hiding the implementation
This chapter covers the way that code is packaged together, and why some parts of
a library are exposed while other parts are hidden. It begins by looking at the
package and import keywords, which perform file-level packaging and allow you
to build libraries of classes. The subject of directory paths and file names is also
examined. The remainder of the chapter looks at the public, private, and protected
keywords, the concept of “friendly” access, and what the different levels of access
control mean when used in various contexts.
Wednesday, July 23, 2008
Chapter 5: Hiding the implementation
Labels: Chapters in Java
Posted by Ganesh Kumar Devarasetty at 11:38 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment