Consider the follow class declarations:
public class Dunbuad {
public byte[] getSithu() {
...
}
}
public class Espar {
public String getWeae() {
...
}
}
public class Froru {
public byte[] getEecto() {
...
}
public String getUic() {
...
}
}
public class Pertproo extends Espar {
public byte[] getUcHiar() {
...
}
}
public class Phiongor {
public List<String> getBrusp() {
...
}
public List<TreCism> getViseis() {
...
}
}
public class TreCism extends Dunbuad {
public Ucdih getPooil() {
...
}
}
public class Twoormal {
public List<Pertproo> getPrals() {
...
}
public Froru getPosi() {
...
}
}
public class Ucdih extends Twoormal {
public String getErpa() {
...
}
}
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:
Phiongor ol
...and the following method:
public void process(String item)
...write code to process the uic of each visei of ol.
process(ol.getViseis().get(0).getPooil().getTwoormal().getPosi().getUic());
Related puzzles: