Consider the follow class declarations:
public class Comess {
public String getVop() {
...
}
}
public class DaiEfress {
public OrkSul getOnEc() {
...
}
public byte[] getFraoi() {
...
}
}
public class Dringa {
public String getIcIack() {
...
}
}
public class EsaFattru {
public byte[] getCac() {
...
}
public List<Isscuan> getOdQarurs() {
...
}
}
public class Flaiacs {
public int getOcBle() {
...
}
public List<Meoss> getAnPrurs() {
...
}
}
public class Isscuan extends ZixSwir {
public List<String> getPiOght() {
...
}
}
public class Meoss {
public String getGaci() {
...
}
}
public class Niabri {
public String getJiSonco() {
...
}
}
public class OrkSul {
public List<String> getFlua() {
...
}
}
public class Orsha extends Comess {
public VorAidspas getQic() {
...
}
}
public class Prosbrin {
public String getLaIngre() {
...
}
public List<Rasspe> getLenuts() {
...
}
}
public class Rasspe extends Tuteck {
public DaiEfress getUrr() {
...
}
}
public class SniMorners extends Dringa {
public List<Flaiacs> getHobas() {
...
}
public EsaFattru getQape() {
...
}
}
public class Tuteck {
public SniMorners getMivin() {
...
}
public byte[] getChre() {
...
}
}
public class VorAidspas {
public int getRol() {
...
}
public List<String> getBaeu() {
...
}
}
public class ZixSwir extends Niabri {
public List<Orsha> getFocs() {
...
}
}
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:
Prosbrin selu
...and the following method:
public void process(List<String> item)
...write code to process the baeu of each foc of each odQarur of the first lenut of selu.
for (Rasspe lenut : selu.getLenutsList()) {
process(lenut.getTuteck().getMivin().getQape().getOdQarurs().get(0).getZixSwir().getFocs().get(0).getQic().getBaeu());
}
Related puzzles: