Answer & Explanation:Most of the project is complete. I need help with step 5.Step 6 is done, however, I made a mistake that I cannot solve, the output says There are 4 systems and my output says There are 5 systems i cannot find this minor error.Note: in the examples I show the output you should get for the given input. If your output does not match this for the same inputs you will receive less credit. For example, after a move command you should display the number of the old room, the systems in the old room, the number of the new room, and the systems in the new room, in the format shown. Output format and details are less important then getting your logic correct and getting the program to work, but they are still important.For this assignment, we will work with the SysInventory program we are/will be discussing in class; see the provided files. In the linked directory you should find: ITSystem.java, SysInventory.java, and SystemInventoryMain.java Here is a run of the provided system. Output like this is what I mean by the results of “interactive tests”.Welcome to Departmental Network SystemsEnter how many systems: 2Enter the system’s room no: 10 System is assigned number 1Enter the system’s room no: 20 System is assigned number 2Enter system inventory number, 0 to quit: 2 <-- for #4 Enter id number or room number preceded by “room”System 2 selectedActions: exit, help, print, record-problemEnter action: printITSystem@1a758cb <-- note useless toString() output: fix this in #1.Enter action: record-problemThe system now has 1 recorded problemsEnter action: helpActions: exit, help, print, record-problemEnter action: exitEnter system inventory number, 0 to quit: 0Goodbye from Departmental Network SystemsAdd method toString() to ITSystem, including information from all fields. After this, the “print” command should work better in SysInventory. For this part, you only need to edit ITSystem.java, then rerun the whole program to see the improved output. As an example of what should be displayed for the print command issued above (associated with system 2 in the example):Enter action: print Id 2 room 20 problems 0Enter action:Modify processActionsForITSystem() so as to add a “in-same-room” action. It should print out all the systems in the same room as the currently selected system, using toString() to print out one system. Devise a series of (interactive) test inputs to exercise your program fully.After this edit, the system should run (after same setup, so only one system in the same room):Enter system inventory number, 0 to quit: 2 System 2 selectedActions: exit, help, print, record-problem, in-same-roomEnter action: in-same-room Systems in the same room as system 2: Id 2 room 20 problems 0 (toString output for system 2, can be different in detail)Enter Action: …This can be one “interactive test” result, but clearly we need to test with multiple systems in the same room for full testing.Modify processActionsForITSystem() so as to add a “move” action. It should prompt for the number of the room to which the system is being moved, and print a warning if the room is the same as before. You may want to add a method to ITSystem for this. When complete, print out all the systems now in the old and new rooms. Devise a series of (interactive) test inputs to exercise your program fully.Enter system inventory number, 0 to quit: 2 System 2 selectedActions: exit, help, print, record-problem, in-same-room, moveEnter action: move Enter room for system 2 to move to: 10 Systems now in old room 20: None Systems now in new room 10: Id 1 room 10 problems 0 Id 2 room 10 problems 0Enter Action: …Currently the user needs to know the id number to work on a system. Modify whichITSystem to allow the user to alternatively enter a room number, by entering “room 22” for example instead of just “12” for system 12. If there are multiple systems in that room, print them out and then ask for the id, and return from whichITSystem with the selected ITSystem object, as in the unmodified case. In the case of the original setup (without moves) the room number simply specifies a system, like this:Enter system inventory number, 0 to quit, or room
You will get a plagiarism-free paper and you can get an originality report upon request.
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more