Question
in java : Create Java Application you are to create a project using our designated IDE (which you must download to your laptop). Create the
in java :
Create Java Application
you are to create a project using our designated IDE (which you must download to your laptop). Create the code to fulfill the requirements below. Demonstrate as stipulated below.
Create a Main Application Class called AddressBookApplication (a counsole application / command line application). It should Contain a Class called Menu that contains the following methods which print out to standard output a corresponding prompt asking for related information which will be used to update the variables in AddressEntry (see Project 1). However, this exercise is only dealing with the standard output portion -- only the display of the prompt. These are the prompt methods you will need to implement:
- prompt_FirstName();
- prompt_LastName();
- prompt_Street();
- prompt_City();
- prompt_State();
- prompt_Zip();
- prompt_Telephone()
- prompt_Email();
Create some code in the main method of your Application class (AddressBookApplication) that calls each of the prompt_* methods which generate strings and prints them out to the Standard Console Window. For example, using this method
prompt_FirstName()
we would get a result to the standard output of:
First Name:
Some Starting code for our 2 classes AddressBookApplication and Menu
The Process
because this is your first exercise I am going to give you more guidance than I normally will ---here are the steps I suggest you follow.
Step 1 : Using IntelliJ IDE create a project called AddressBookApplication using the command line template project option and set the main application class to the name AddressBookApplication.
Step 2 : Compile and run ---nothing really will happen but, should run
Step 3 : Create a new class in the src folder of your project called Menu.java and copy the partial code of Menu.java from the starting code I have given you.
Step 4 : Compile and run --still nothing new happens as your AddressBookApplication's main method does nothing
Step 5 : Edit the main method of the AddressBookApplication class to look like what is shown in the starting code I have given you.
Step 6 : Compile and run --now you should see the first prompt method output something to the standard output
Step 7 : Edit both your Menu class to complete the requirements above. Also, edit the main method of the AddressBookApplication class to call ALL of the Menu's static prompt methods. Compile and Run.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started