Consider the follow class declarations:
public class Aswhiph {
public List<String> getNeCo() {
...
}
}
public class Beucsel {
public int getGusco() {
...
}
public Oudent getSulil() {
...
}
}
public class Cospe extends Beucsel {
public Shepsiwd getArAc() {
...
}
}
public class Mashi {
public int getSeIbro() {
...
}
public byte[] getPasm() {
...
}
}
public class Oudent {
public byte[] getMiosk() {
...
}
public List<Trasar> getAwgors() {
...
}
}
public class Priabet {
public Aswhiph getPoci() {
...
}
public List<String> getReSoast() {
...
}
}
public class Shepsiwd {
public File getCerm() {
...
}
}
public class Trasar extends Priabet {
public List<Mashi> getBeps() {
...
}
}
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:
Cospe io
...and the following method:
public void process(byte[] item)
...write code to process the pasm of each bep of each awgor of io.
process(io.getBeucsel().getSulil().getAwgors().get(0).getBeps().get(0).getPasm());
Related puzzles: