Question: 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
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 multidimensional array that will hold 10 of these contacts. So our multidimensional array will need to be 10 rows and 4 columns.
You should be able to add, display and remove contacts in the array. Look down here.
******************************************************************************************************************************************************************************************************************
this code comes close to what I am looking for except that - it stores more than 10 contacts. you can input 100 contacts if you like. I NEED IT TO STORE <= 10 CONTACTS
import java.util.*; public class contact { private String fname;// define fname private String lname; // define lname private String phone; // define phone private int age; // define age public contact() { } public static void main(String args[]) { ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
