Professional Documents
Culture Documents
Released: 27 September 2019 Submission Deadline
Released: 27 September 2019 Submission Deadline
Released: 27 September 2019 Submission Deadline
Submission Detail:
1. Assignment Report: LaporanTugas5_NIM.docx (a class diagram from assignment
number 1 or number 2).
2. Program_Tgs5_NIM.rar consists of:
a. AddressPage_NIM.java
b. AddressPageTestDrive_NIM.java
c. [optional] AddressBook_NIM.java
d. [optional] AddressBookTestDrive_NIM.java
1. Address Book
a. Of course you know address book, people use it to record some information about
other people they know. Address book consists of several pages which have the
identical format.
In this assignment you will write a class that represents a page in the address
book. You named the class “AddressPage_NIM” and here are the attributes and
the methods:
Attributes:
Methods:
- 4 setter
- 4 getter plus one getter: getNbInstance():public static. Return
nbInstance (hold information about number of instances/object that have
been created).
- toString():public. Return string that holds information about the object.
b. [Optional] You have finished your class AddressPage_NIM. Next you will use it
to make other class “AddressBook_NIM”.
Attributes:
Methods: