Consider the follow class declarations:
public class Adunt {
public byte[] getLiflo() {
...
}
}
public class Antme {
public int getSnun() {
...
}
}
public class Chaupold {
public List<String> getIcco() {
...
}
}
public class Chipi {
public int getIor() {
...
}
}
public class Dersid extends Varst {
public Oppros getImBroc() {
...
}
}
public class DraPrussbe {
public String getViqes() {
...
}
}
public class Icpi {
public int getVou() {
...
}
public File getHawn() {
...
}
}
public class Merthxo extends Repsee {
public List<String> getEwis() {
...
}
}
public class Nassint {
public Chipi getVimec() {
...
}
public List<Toia> getOteens() {
...
}
}
public class OedFrest {
public List<Adunt> getMutors() {
...
}
public List<Rende> getEnts() {
...
}
}
public class Oppros extends Otcront {
public List<String> getIcan() {
...
}
}
public class Otcront extends Icpi {
public List<RolSio> getGulis() {
...
}
}
public class Puhit extends Vasbel {
public List<String> getDeFagro() {
...
}
}
public class Rende extends Chaupold {
public byte[] getTren() {
...
}
}
public class Repsee extends DraPrussbe {
public Nassint getDiEuan() {
...
}
}
public class RolSio {
public int getSpel() {
...
}
}
public class Toia {
public List<Dersid> getPiis() {
...
}
public byte[] getCec() {
...
}
}
public class Urmed {
public Merthxo getCamos() {
...
}
public Antme getAed() {
...
}
}
public class Varst {
public File getHus() {
...
}
}
public class Vasbel {
public List<Urmed> getSePriros() {
...
}
public OedFrest getAetec() {
...
}
}
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:
Puhit a
...and the following method:
public void process(File item)
...write code to process the hawn of each pii of each oteen of the first sePriro of a.
for (Urmed sePriro : a.getVasbel().getSePrirosList()) {
process(sePriro.getCamos().getRepsee().getDiEuan().getOteens().get(0).getPiis().get(0).getImBroc().getOtcront().getIcpi().getHawn());
}
Related puzzles: