Consider the follow class declarations:
public class Bleen {
public int getEpIalk() {
...
}
public List<StiIpos> getGluns() {
...
}
}
public class Edste {
public byte[] getErOc() {
...
}
}
public class Gelha {
public List<String> getAuPasm() {
...
}
}
public class Gesmdar {
public byte[] getIcEo() {
...
}
}
public class Prassgi {
public int getGoCeel() {
...
}
public File getIued() {
...
}
}
public class Psercis extends Bleen {
public List<String> getQioro() {
...
}
}
public class Slasci extends Gelha {
public Prassgi getCruss() {
...
}
}
public class StiIpos {
public List<Gesmdar> getOpscus() {
...
}
public Slasci getChoo() {
...
}
public List<Edste> getElfes() {
...
}
}
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:
Psercis sas
...and the following method:
public void process(File item)
...write code to process the iued of each glun of sas.
process(sas.getBleen().getGluns().get(0).getChoo().getCruss().getIued());
Related puzzles: