CS3340:  Intro OOP and Design

Exercsie 1 --- class code PARTIALLY DONE****

 

AddressBookApplication class (YOU can use the autogenerated class when you make a new Eclipse Project if you call it AddressBookApplication)

Following should be in a file called AddressBookApplication.java

/** main AddressBookApplication: purpose is to invoke some methods of the Menu classs
**/

class AddressBookApplication {

public static void main(String args[]) {

   //simply invokes static methods of the Menu class

Menu.prompt_FirstName();

Menu.prompt_LastName();

//***YOU NOW FINISH CODE TO CALL ALL the rest of the static methods of the Menu class

 

}

}

 

 

=========================================================================

Following should be in a file called Menu.java

/** Menu class currently only has static methods to prompt to standard output information about a Contact like name,etc
**/

class Menu {

 

public static void prompt_FirstName() {

System.out.println("First Name:");

}

 

//*****NOW you create code for the other methods required for this Exercise ********

}

© Lynne Grewe