Consider the follow class declarations:
public class BicScrapoi extends Cealon {
public String getOlUo() {
...
}
}
public class Camet {
public File getSeo() {
...
}
}
public class Cealon extends Crice {
public Rengtrial getPued() {
...
}
}
public class CekPsontish extends Crecep {
public List<Camet> getDajos() {
...
}
}
public class Cler {
public Phess getDraid() {
...
}
public CekPsontish getDesge() {
...
}
}
public class Crecep extends Goncos {
public List<Feng> getHuls() {
...
}
public List<Mipto> getCetons() {
...
}
public List<Jueoud> getShois() {
...
}
}
public class Crice {
public byte[] getOsTriw() {
...
}
public File getCuKa() {
...
}
}
public class Feng {
public File getHeess() {
...
}
}
public class Goncos {
public List<String> getPid() {
...
}
}
public class Jueoud {
public String getBuChes() {
...
}
}
public class Mipto {
public Wassuen getAii() {
...
}
public byte[] getOeo() {
...
}
}
public class Phess {
public File getSoBe() {
...
}
}
public class Rengtrial {
public List<String> getRil() {
...
}
}
public class Wassuen {
public List<BicScrapoi> getStais() {
...
}
public List<String> getNic() {
...
}
}
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:
Cler esen
...and the following method:
public void process(File item)
...write code to process the cuKa of the first stai of each ceton of esen.
for (BicScrapoi stai : esen.getDesge().getCrecep().getCetons().get(0).getAii().getStaisList()) {
process(stai.getCealon().getCrice().getCuKa());
}
Related puzzles: