Consider the follow class declarations:
public class Dilre extends Doinprea {
public List<IolNesm> getPoapis() {
...
}
}
public class Dinprot extends MuaZoirm {
public String getCeCo() {
...
}
}
public class Doinprea {
public String getNaus() {
...
}
public int getIaOstte() {
...
}
}
public class Ezier extends RauPhe {
public Tras getWaUin() {
...
}
}
public class Inguc extends Ezier {
public List<Ulca> getPremes() {
...
}
public List<Priel> getLaises() {
...
}
}
public class IolNesm {
public byte[] getEnLe() {
...
}
}
public class Jasar {
public byte[] getAcsho() {
...
}
}
public class Memphwim {
public List<String> getSwi() {
...
}
}
public class Metmat extends Teaghec {
public List<Owksa> getFics() {
...
}
}
public class MuaZoirm {
public File getAsict() {
...
}
public List<Scico> getOrCrais() {
...
}
}
public class Noou {
public Dilre getEfia() {
...
}
public int getOsol() {
...
}
}
public class Osscent {
public String getPoFlime() {
...
}
public Inguc getCea() {
...
}
}
public class Owksa {
public String getVist() {
...
}
}
public class PriMeash extends Osscent {
public String getMiOs() {
...
}
}
public class Priel {
public List<String> getRaBu() {
...
}
public Slet getArPa() {
...
}
}
public class Qisad {
public List<PriMeash> getOuos() {
...
}
public Memphwim getEdSposi() {
...
}
}
public class RauPhe {
public int getPran() {
...
}
}
public class Scico {
public List<Metmat> getTaThoods() {
...
}
public Qisad getCiOunon() {
...
}
}
public class Slet extends Noou {
public byte[] getElMii() {
...
}
}
public class Teaghec {
public byte[] getEnt() {
...
}
}
public class Tras {
public List<String> getOtEud() {
...
}
}
public class Ulca {
public File getUtPanen() {
...
}
public Jasar getThaar() {
...
}
}
Draw a diagram showing the class relationships.
You only need to diagram the classes listed above. You only need to show the name of each class; do not show their methods or properties.
Draw arrows between the classes that have relationships, and label each arrow with one of the following:
Make sure your arrows point in the correct direction!
Given the following variable:
Dinprot da
...and the following method:
public void process(int item)
...write code to process the iaOstte of each lais of each ouo of each orCrai of da.
process(da.getMuaZoirm().getOrCrais().get(0).getCiOunon().getOuos().get(0).getOsscent().getCea().getLaises().get(0).getArPa().getNoou().getEfia().getDoinprea().getIaOstte());
Related puzzles: