Consider the follow class declarations:
public class Fonzo {
public File getAlbo() {
...
}
public Tred getEuc() {
...
}
}
public class Ioucir {
public int getEcre() {
...
}
}
public class Ludciert extends Preh {
public Sesmass getIdua() {
...
}
public List<Phord> getOsGencis() {
...
}
}
public class Phord {
public byte[] getNuRetec() {
...
}
}
public class Preh extends Psurik {
public byte[] getIuId() {
...
}
}
public class Psurik {
public List<String> getRisur() {
...
}
public List<Ioucir> getPoEses() {
...
}
public List<String> getDodu() {
...
}
}
public class Sesmass {
public int getAsm() {
...
}
}
public class Tred {
public List<Ludciert> getSors() {
...
}
public List<String> getPeOdet() {
...
}
}
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:
Fonzo ce
...and the following method:
public void process(List<String> item)
...write code to process the dodu of each sor of ce.
process(ce.getEuc().getSors().get(0).getPreh().getPsurik().getDodu());
Related puzzles: