Java Reference
In-Depth Information
What You Should Know
Having completed this chapter, you now should be able to perform the tasks
shown in Table 9-8.
Table 9-8
Chapter 9 What You Should Know
TASK NUMBER
TASK
PAGE
1
Start a New Java Program in TextPad
545
2
Create Class and Instance Variables
548
3
Create Overloaded Constructors
554
4
Code Accessor and Mutator Methods for the
557
autoExpires Instance Variable
5
Code Accessor and Mutator Methods for the Expired
559
Instance Variable
6
Code Accessor and Mutator Methods for the
560
expiresNotifyLimit Instance Variable
7
Code Accessor and Mutator Methods for the
562
maxHistory Instance Variable
8
Code Read-Only Accessor Methods
565
9
Code Public Instance Methods
571
10
Code the verifyFormat() Private Helper Method
580
11
Code the encrypt() Private Helper Method
583
12
Save and Compile the Password Class
584
13
Open, Compile, and Execute the PasswordDemo
588
Program
14
Print the Source Code
588
15
Quit TextPad
589
Search WWH ::
Custom Search