Consider the follow class declarations:
public class Bioud {
public byte[] getRul() {
...
}
}
public class Cassspa extends Eddel {
public int getDri() {
...
}
}
public class Dondcio {
public byte[] getPae() {
...
}
}
public class Eddel {
public Wegtril getCrah() {
...
}
public List<String> getVad() {
...
}
}
public class Huons {
public List<Istpi> getStis() {
...
}
public int getVue() {
...
}
public byte[] getMeeed() {
...
}
}
public class Istpi {
public String getOst() {
...
}
}
public class Ongjing {
public List<Cassspa> getOrias() {
...
}
public Bioud getInve() {
...
}
}
public class Wegtril extends Dondcio {
public Huons getUespe() {
...
}
}
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:
Ongjing alqa
...and the following method:
public void process(byte[] item)
...write code to process the meeed of the first oria of alqa.
for (Cassspa oria : alqa.getOriasList()) {
process(oria.getEddel().getCrah().getUespe().getMeeed());
}
Related puzzles: