Consider the follow class declarations:
public class Altung {
public List<Huessis> getStiols() {
...
}
public EusDopcri getKec() {
...
}
}
public class Cibas {
public List<Zitmeng> getPeises() {
...
}
public String getOdo() {
...
}
}
public class Datan {
public int getLial() {
...
}
public List<Inid> getLehes() {
...
}
}
public class Delsa extends TusPreldan {
public File getToena() {
...
}
public byte[] getSqoce() {
...
}
}
public class EusDopcri {
public List<String> getMixin() {
...
}
}
public class Huessis extends Delsa {
public List<String> getElGlo() {
...
}
}
public class Inid {
public File getHiOsna() {
...
}
public Stoid getChruo() {
...
}
}
public class Nocred {
public byte[] getCride() {
...
}
}
public class Stoid extends Stuash {
public String getHaSanoc() {
...
}
}
public class Stuash extends Cibas {
public Altung getFiri() {
...
}
}
public class TusPreldan {
public List<String> getMiNi() {
...
}
}
public class Zitmeng {
public File getIcqen() {
...
}
public List<Nocred> getCrings() {
...
}
}
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:
Datan in
...and the following method:
public void process(byte[] item)
...write code to process the sqoce of each stiol of each lehe of in.
process(in.getLehes().get(0).getChruo().getStuash().getFiri().getStiols().get(0).getDelsa().getSqoce());
Related puzzles: