Question: Please code 2 co-programs that follow the instructions given. It will be 2 Java programs. I will show how the output should look at the

Please code 2 co-programs that follow the instructions given. It will be 2 Java programs. I will show how the output should look at the bottom! Thank you.
 Please code 2 co-programs that follow the instructions given. It will
be 2 Java programs. I will show how the output should look
at the bottom! Thank you. 2. Download the Creating Projects in DrJava
PDF (instructor's version) on how to create a oject folder that manages

2. Download the Creating Projects in DrJava PDF (instructor's version) on how to create a oject folder that manages multiple java files stored in the same folder. The project folder has the same name as the group java file. You are creating 3 separate java files to be stored in the project folder a. TeamMembersLastNames SectionNoPANo.java contains only the main b. CompanyStores java c. Store.java 3. The fields/class variables are non-static. All methods are non-static excepf for the main0. The main) will instantiate (create) an object of the CompanyStores class and use that object to call start). Make sure you exit main(0 4. The CompanyStores class will have 4 methods: an empty constructor, start) processStorelnfo() and displayStoreStats). You will create a 1D array called myStores at the class level as a null array. The type for this array will be Store a. start) contains a local variable called answer that holds the response to prompt 1. Based orn that response processStoreinfo) and displayStoreStats0 are called or a Thank you ..." message is printed. b. In process Storelnfo0, the user will be prompted for the name of the company and the number of stores. That number gives size to the myStores array. The array will then be populated with information for multiple stores c. displayStoreStats0 has 3 local variables: salesDifference, message, and report that is initialized to the header in the final output specifications. The sales difference is calculated by subtracting a store's projected annual sales from its total quarterty sales. The difference is then used to determine which of 2 messages is stored in the message variable to be printed with the store information. An enhanced for loop is used to access each store's information from the array 5. The Store class will have the set methods to capture the stores information and the get methods to return the captured data a. Code an empty constructor b. Code an overloaded constructor that accepts the location of the store and its manager. Assign c. Code setStoreLctn0 that prompts for the store's location and receives the loop-control value d. Code setManager) that prompts for the managers name and receives the loop-control value e. Code setTotalQtrlySales0 that prompts for each quarter's sales and adds it to a the parameter variables to class variables of the same name. from the loop that calls the set methods in CompanyStores from the loop that calls the set methods in CompanyStores totalQtrtySales variable. It also receives the loop-control value from the loop that calls the set methods in CompanyStores

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!