Consider the follow class declarations:
public class Casswuost {
public File getUdIu() {
...
}
public File getAdDa() {
...
}
}
public class Falcoo extends Pethes {
public File getDieoo() {
...
}
}
public class Pethes {
public List<Casswuost> getOcTros() {
...
}
public Rulzam getLeMi() {
...
}
}
public class Rulzam {
public byte[] getOmuss() {
...
}
}
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:
Falcoo ci
...and the following method:
public void process(File item)
...write code to process the adDa of the first ocTro of ci.
for (Casswuost ocTro : ci.getPethes().getOcTrosList()) {
process(ocTro.getAdDa());
}
Related puzzles: