Consider the follow class declarations:
public class Aldou {
public String getDuUt() {
...
}
public String getAmIniss() {
...
}
}
public class EasPriphier {
public byte[] getEsal() {
...
}
}
public class Hejench {
public List<QilHoize> getGicses() {
...
}
public int getBiChoo() {
...
}
}
public class Hess extends Phest {
public File getAist() {
...
}
}
public class Ovea {
public List<Aldou> getVanaus() {
...
}
public Hejench getOnia() {
...
}
}
public class Phest extends EasPriphier {
public RilBasir getAnad() {
...
}
}
public class QilHoize {
public String getQocer() {
...
}
}
public class RilBasir {
public byte[] getRaIler() {
...
}
public List<Ovea> getTres() {
...
}
}
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:
Hess tac
...and the following method:
public void process(String item)
...write code to process the amIniss of each vanau of the first tre of tac.
for (Ovea tre : tac.getPhest().getAnad().getTresList()) {
process(tre.getVanaus().get(0).getAmIniss());
}
Related puzzles: