Consider the follow class declarations:
public class Arshel {
public List<Crur> getAefs() {
...
}
public String getPle() {
...
}
}
public class Crur extends Feplor {
public int getVeUes() {
...
}
}
public class Edcest {
public int getMur() {
...
}
}
public class Feplor extends Kaentoc {
public byte[] getSpes() {
...
}
}
public class Goumfegh {
public byte[] getEmTecha() {
...
}
}
public class Gudo {
public List<Qeso> getMishs() {
...
}
public List<IneCosesm> getKaUtfes() {
...
}
}
public class IneCosesm {
public Trethbuen getEwel() {
...
}
public List<String> getSaAphel() {
...
}
}
public class Kaentoc {
public Orschri getAuSlill() {
...
}
public String getPlela() {
...
}
}
public class Kivoss extends Trishiel {
public int getIsNuipo() {
...
}
}
public class Ohuc {
public byte[] getSePeham() {
...
}
public List<Goumfegh> getEnes() {
...
}
}
public class Orschri {
public byte[] getSiOl() {
...
}
public Plac getOeDaso() {
...
}
public File getTul() {
...
}
}
public class Plac {
public int getReng() {
...
}
}
public class Prabe extends Ohuc {
public int getMesm() {
...
}
}
public class Qeso {
public Kivoss getAdInu() {
...
}
public Prabe getPusce() {
...
}
public List<Edcest> getSoOcs() {
...
}
}
public class Trethbuen {
public List<String> getSut() {
...
}
}
public class Trishiel {
public Arshel getSes() {
...
}
public int getIsil() {
...
}
}
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:
Gudo psed
...and the following method:
public void process(File item)
...write code to process the tul of the first aef of the first mish of psed.
for (Qeso mish : psed.getMishsList()) {
for (Crur aef : mish.getAdInu().getTrishiel().getSes().getAefsList()) {
process(aef.getFeplor().getKaentoc().getAuSlill().getTul());
}
}
Related puzzles: