Consider the follow class declarations:
public class BreDooa {
public String getThre() {
...
}
}
public class Brolfer {
public File getItmol() {
...
}
}
public class Crita {
public int getDou() {
...
}
public Trar getTicop() {
...
}
}
public class Emon {
public List<Marsiot> getAspors() {
...
}
public String getDanil() {
...
}
}
public class Eoutcour {
public Brolfer getSusra() {
...
}
public String getNolph() {
...
}
}
public class Hadza extends BreDooa {
public Siong getCeEchim() {
...
}
public List<SesPesoing> getSeLonbis() {
...
}
}
public class Helmul {
public byte[] getEdus() {
...
}
public File getVeoss() {
...
}
}
public class Holf extends Hadza {
public byte[] getAdRe() {
...
}
}
public class Ipra {
public byte[] getIas() {
...
}
public List<Weae> getStists() {
...
}
}
public class Marsiot {
public Holf getEsni() {
...
}
public List<String> getDisbe() {
...
}
}
public class Meapsar {
public byte[] getPeMiont() {
...
}
}
public class Mioink {
public byte[] getOssci() {
...
}
public WhiMeldem getVadi() {
...
}
}
public class SesPesoing extends Crita {
public List<Votho> getPeos() {
...
}
}
public class Siong {
public String getSaIfi() {
...
}
public List<Eoutcour> getWilocs() {
...
}
}
public class Trar extends Meapsar {
public List<Helmul> getIcscas() {
...
}
}
public class Votho {
public byte[] getEdGlo() {
...
}
public Ipra getLuw() {
...
}
}
public class Weae {
public String getEeFivi() {
...
}
}
public class WhiMeldem extends Emon {
public int getPesh() {
...
}
}
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:
Mioink onhe
...and the following method:
public void process(File item)
...write code to process the veoss of each icsca of each seLonbi of the first aspor of onhe.
for (Marsiot aspor : onhe.getVadi().getEmon().getAsporsList()) {
process(aspor.getEsni().getHadza().getSeLonbis().get(0).getCrita().getTicop().getIcscas().get(0).getVeoss());
}
Related puzzles: