Classes and Java Object help Me Understand my Assignment : 1. Create a class that contains an address book entry and name it AddressBook.  The table below describes the information that an address book entry has.
Name, Address, Mobile Number, Email Address. here is my code which not sure if it's correct

public class AddressBook {

       private String name;
       private String address;
       private int mobilenumber;
       private String emailaddress;
       
       public AddressBook(){
       }
              
       public AddressBook (String name, String address, int mobilenumber, String emailaddress){
           this.name = name;
           this.address = address;
           this.mobilenumber = mobilenumber;
           this.emailaddress = emailaddress;
       }

        public String getName(){ 
            return name;
        }
        public void setName(String name){ 
            this.name = name;
        }
        
        public String getAddress(){ 
            return address;
        }
        public void setAddress(String address){ 
            this.address = address;
        }
        
        public int getMobileNumber(){ 
            return mobilenumber;
        }
        public void setMobileNumber(int mobilenumber){
            this.mobilenumber = mobilenumber;}
        
        public String getEmailAddress(){
            return emailaddress;
        }
        public void setEmailAddress(String emailaddress){ 
            this.emailaddress = emailaddress;
        }
       
         public String toString(){
             return "Name: " + name + "Address: " + address + "Mobile Number: " + mobilenumber + "Email Address: " + emailaddress;        
         }
       
}    

2. Create a class and name it AddressBookTest which will contain the main method for implementation of the AddressBook class methods from #1 of this activity.  Instantiate an array of AddressBook objects of 100 entries.  Create a menu that will implement the following methods:
Main Menu
1.	Add Entry
2.	Delete Entry
3.	View All Entries
4.	Update An Entry
5.	Exit
The program should loop back to the main menu after implementing a method chosen by the user.  Note that options 2, 3 and 4 should not be implemented if no entry has been added yet.  The program ends at the Exit option. 

here my current code, I don't know how to delete, view all or update?

import java.util.Scanner;
public class AddressBookTest {
   
    public static void main(String[] args) {
        
        System.out.println("***PROGRAM INFORMATION*** \nNAME            ->  IS THE NAME OF THE PERSON IN THE ADDRESSBOOK \nADDRESS         ->  THE ADDRESS OF THE PERSON \nMOBILE NUMBER   ->  THE MOBILE NUMBER OF THE PERSON \nEMAIL ADDRESS   ->  THE EMAIL ADDRESS OF THE PERSON\n");
        
        String input;
        Scanner in = new Scanner(System.in);
        AddressBook[] entry = new AddressBook[100];
        
        do
        {
             
            System.out.println("Main Menu");  
            System.out.println("1. Add an Entry");
            System.out.println("2. Delete an Entry");
            System.out.println("3. View All Entries");
            System.out.println("4. Update an Entry");
            System.out.println("5. Exit");
            System.out.print("Please enter Choices from 1 to 5: "); 
            input =(in.nextLine());
            
           
            
            switch (input) {
                case "1":
                    
                    for(int i = 0; i < 100; i++){
                    entry[i] = new AddressBook();
 
                    System.out.println("***Adding Entry in Address Book***");
                    System.out.print("First Name: ");
                    String name = in.next();
                    System.out.print("Address: ");
                    String address = in.next();
                    System.out.print("Mobile Number: ");
                    int MN = in.nextInt();
                    System.out.print("Email Address: ");
                    String EA = in.next();
                    System.out.println("***Added " + (i+1) + " Entry/Entries\n");
                      
                    }
                    break;
                    
                case "2":
                    
                    break;
                    
                case "3":
                        
                           
                    break;
                case "4":
                   
                     break;
                    
                default:
                    break;
            }
            
            
        }while(!input.equals("5"));
            System.out.println("***THANK YOU FOR USING MY PROGRAM...***");
    }      
}

