I'm creating psudeo code to help me write a Lab that i have to create.
Create a program that keeps track of the following information input by the user:
First Name, Last Name, Phone Number, Age
Now - let's store this in a array that will hold 10 of these contacts. We will be storing the information for each contact in an object called Contact
You should be able to add, remove and edit contacts in the array.
Here is what I have so far. I hope you guys can help me fill in the blanks.
Pseudo Code
Gather the information about the contact
Create a scanner object;
Create a 4 X 10 array;
Ask the user for input i.e. first name, last name, phone number & Age
Create a new contact with the information from the user
Contact contact = new Contact(firstName, LastName, PhoneNumber, Age);
Put the Contact into the array
….
….
….
….
….
I guess my class array would be used for collecting the contact array. Is this right so far?