Question: Hello, I need to make something like this in java, where the commands should be like a switch case (with choices to be server, pc

 Hello, I need to make something like this in java, where

Hello, I need to make something like this in java, where the commands should be like a switch case (with choices to be server, pc and status). It need to be able to read IP addresses. Also, it has to tell if the component are avaible or not (void updateAvailability()). At the end, it should override to the toString() It is expected to maintain a list of added devices as long as it is running An example run of the application may look like (green is input from user): and: server Name: Web Server IP or hostname: Www.hvl.no Comm New server added! Command pc Name: Andreas Urke Employee number: 123 IP or hostname: 158.12.13.14 New workstation added! Command: status Web Server - www.hvl.no/158.37.32.44 - Available Andreas Urke, 123 /158.12.13.14 Not available Command: Hello, I need to make something like this in java, where the commands should be like a switch case (with choices to be server, pc and status). It need to be able to read IP addresses. Also, it has to tell if the component are avaible or not (void updateAvailability()). At the end, it should override to the toString() It is expected to maintain a list of added devices as long as it is running An example run of the application may look like (green is input from user): and: server Name: Web Server IP or hostname: Www.hvl.no Comm New server added! Command pc Name: Andreas Urke Employee number: 123 IP or hostname: 158.12.13.14 New workstation added! Command: status Web Server - www.hvl.no/158.37.32.44 - Available Andreas Urke, 123 /158.12.13.14 Not available Command

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!