Computer
the API of which
can be found here.
You do not have to implement the class Monitor
.
The file Monitor.class
is contained in the jar file
practice1.jar
.
Include javadoc comments.
Write an app named ComputerClient
which creates a
random computer and repeatedly prompts the user for a processor name
until the user enters either Intel or AMD and sets the processor
of the created computer to the entered name. Here is
a sample run.
Enter processor name: java Enter processor name: html Enter processor name: AMDHere is another sample run.
Enter processor name: intel Enter processor name: Intel
Submit the classes Computer
and ComputerClient
by typing
submit 1030 Test0 Computer.java ComputerClient.javaYou may submit your code more than once. You are strongly encouraged to submit your work regularly during the test.