September 2003
Intermediate to advanced
464 pages
12h 22m
English
We first look at some of the Java access control features in action with help of a number of examples, each example building upon the previous one. The source and configuration files for the example programs can be found in the src\jsbook\ch5 subdirectory of JSTK installation. The idea is to get a feel for these features, without getting overwhelmed by the details.
Let us start the discussion with DisplayFile.java of the first example. This file can be found within the ex1 subdirectory within src\jsbook\ch5, the directory for the first example. This program takes a filename as a command line argument and displays its contents on the screen.
// File: ex1\DisplayFile.java ... |
Read now
Unlock full access