Consider the follow class declarations:
public class Angwes extends Sumstin {
public File getTre() {
...
}
}
public class Boad {
public int getPecel() {
...
}
}
public class Cheu {
public Wismring getVacu() {
...
}
public File getMucet() {
...
}
public List<String> getSor() {
...
}
}
public class Onda {
public List<Angwes> getEhas() {
...
}
public List<String> getEnRococ() {
...
}
}
public class Prethscui extends Boad {
public List<Sinsso> getRinans() {
...
}
public Onda getChoo() {
...
}
}
public class Sinsso {
public List<String> getInDu() {
...
}
}
public class Sumstin {
public byte[] getBri() {
...
}
public Cheu getVuc() {
...
}
}
public class Wismring {
public List<String> getAsmed() {
...
}
}
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:
Prethscui spe
...and the following method:
public void process(List<String> item)
...write code to process the sor of each eha of spe.
process(spe.getChoo().getEhas().get(0).getSumstin().getVuc().getSor());
Related puzzles: