Consider the follow class declarations:
public class Anjo {
public List<Pnobchism> getIlMilels() {
...
}
public VirPiont getHePogol() {
...
}
}
public class Daqang {
public String getNario() {
...
}
}
public class EciHooci {
public int getPsir() {
...
}
public Iasmchord getRir() {
...
}
}
public class EfeEsm {
public byte[] getCurda() {
...
}
public List<String> getIngno() {
...
}
}
public class Fosgo {
public List<String> getAssod() {
...
}
}
public class Iasmchord {
public List<Shojor> getMiHinpis() {
...
}
public File getUpin() {
...
}
}
public class Iirt {
public Daqang getPesi() {
...
}
public Anjo getDiwic() {
...
}
}
public class Maehun extends EfeEsm {
public String getDiRirn() {
...
}
}
public class Nilwrous {
public int getMiha() {
...
}
}
public class Nismdud extends EciHooci {
public String getMadso() {
...
}
}
public class Pnobchism extends Fosgo {
public Nismdud getPupdu() {
...
}
public List<Nilwrous> getBeshs() {
...
}
}
public class Renleng {
public List<Iirt> getDogas() {
...
}
public File getShir() {
...
}
}
public class Sani extends Renleng {
public File getBic() {
...
}
}
public class SasPladun {
public List<String> getEsong() {
...
}
}
public class Shojor extends Maehun {
public List<Twohid> getStushs() {
...
}
}
public class Twohid {
public byte[] getIstea() {
...
}
}
public class Unha {
public List<VurBurang> getOcSors() {
...
}
public File getGoUprec() {
...
}
}
public class VirPiont extends SasPladun {
public Unha getNishi() {
...
}
public List<Wantso> getIsThashs() {
...
}
}
public class VurBurang {
public String getDai() {
...
}
}
public class Wantso {
public File getFeAic() {
...
}
}
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:
Sani de
...and the following method:
public void process(List<String> item)
...write code to process the ingno of the first miHinpi of each ilMilel of the first doga of de.
for (Iirt doga : de.getRenleng().getDogasList()) {
for (Shojor miHinpi : doga.getDiwic().getIlMilels().get(0).getPupdu().getEciHooci().getRir().getMiHinpisList()) {
process(miHinpi.getMaehun().getEfeEsm().getIngno());
}
}
Related puzzles: