Consider the follow class declarations:
public class Aqam extends Trong {
public List<Udpro> getHiIds() {
...
}
}
public class Dind {
public List<Muicht> getStis() {
...
}
public Jeva getAnec() {
...
}
}
public class FelOong extends Minopt {
public Ungest getCang() {
...
}
}
public class Hisga {
public String getMish() {
...
}
}
public class Iedoc {
public byte[] getEtro() {
...
}
}
public class Ipde {
public List<String> getIsnal() {
...
}
}
public class Iwas {
public String getNoShoas() {
...
}
}
public class Jeva {
public Iwas getMecom() {
...
}
public List<Iedoc> getGounts() {
...
}
public List<Socdu> getPuacs() {
...
}
public File getSpe() {
...
}
}
public class Minopt {
public List<Hisga> getDeches() {
...
}
public byte[] getGaboc() {
...
}
}
public class Muicht {
public List<String> getSeac() {
...
}
}
public class Ongclad extends Dind {
public byte[] getNiper() {
...
}
}
public class Plis {
public String getCrir() {
...
}
}
public class Prer {
public Ongclad getIleng() {
...
}
public List<String> getNomu() {
...
}
}
public class Selos {
public Strisewn getEper() {
...
}
public byte[] getDiOf() {
...
}
}
public class Socdu {
public int getAhat() {
...
}
}
public class Strisewn extends Aqam {
public File getRaZa() {
...
}
}
public class Trong {
public File getXoMirm() {
...
}
}
public class Udpro {
public Plis getOtwa() {
...
}
public List<Xolgren> getParuls() {
...
}
}
public class Ungest {
public List<Prer> getMiPiprus() {
...
}
public int getBijee() {
...
}
}
public class Xolgren extends FelOong {
public Ipde getArma() {
...
}
}
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:
Selos un
...and the following method:
public void process(File item)
...write code to process the spe of each miPipru of each parul of each hiId of un.
process(un.getEper().getAqam().getHiIds().get(0).getParuls().get(0).getFelOong().getCang().getMiPiprus().get(0).getIleng().getDind().getAnec().getSpe());
Related puzzles: