Introduction - If you have any usage issues, please Google them yourself
First, realize contacts class (name, gender, and phone number), and set the set and get methods for each attribute two, to read the data into address book contacts class to instantiate a text file " record.txt" in The object and store the results easy to find rational organization. Its sample files below, the first acts of the address book file personnel number n, the second line to the first line is the n n+1 contacts each address book accounts for 1 lines, each followed by a person' s name, gender and telephone number, separated by a space between each property.