i want a full program with test about the


i want a full program with test about the following:
linkedComputers:
We will assume that a number of methods are required. These are specified below.

String getComputerName() returns the name of the computer whose details are in this object.
int getNumberOfLinks() returns the number of computers that are linked to the first computer.
boolean isLinked(String comp1) returns true if the computer comp1 is linked to the computer documented by this object; otherwise it returns false.
void addComputer(String comp1) adds the name of computer comp1 to the list of linked computers. If the computer is already in the list of linked computers, then a ComputerErrorException exception is raised with the message ''Computer already in links''.
void removeComputer(String comp1) removes the computer named comp1 from the linked computers. If the computer is not in the list of linked computers, then a ComputerErrorException exception is raised with the message ''Computer not in links''.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: i want a full program with test about the
Reference No:- TGS0361617

Expected delivery within 24 Hours