Consider the follow class declarations:
public class Bosschix extends Deng {
public List<Iang> getBlopus() {
...
}
}
public class Cannis extends Raje {
public File getEde() {
...
}
}
public class Carsum extends Prirme {
public int getIeAcko() {
...
}
}
public class Deng {
public int getTanoc() {
...
}
}
public class Eming {
public Carsum getRoCo() {
...
}
public List<Tiho> getAmIdusses() {
...
}
}
public class Enfiad {
public int getKumed() {
...
}
public int getIlhur() {
...
}
}
public class Iang {
public File getMeAn() {
...
}
}
public class Medgaur {
public File getFocuc() {
...
}
public Cannis getApSeshu() {
...
}
}
public class Memir {
public List<String> getHoan() {
...
}
}
public class Ofis {
public Eming getDaco() {
...
}
public int getKoBrard() {
...
}
}
public class Pista {
public String getWosta() {
...
}
}
public class Prirme {
public String getReba() {
...
}
public List<Enfiad> getSnis() {
...
}
}
public class Psan extends Memir {
public Bosschix getFler() {
...
}
}
public class Raje {
public List<Thanse> getHeWisms() {
...
}
public Pista getSiTe() {
...
}
public Sosui getElSa() {
...
}
}
public class Sosui {
public byte[] getWheas() {
...
}
}
public class Thanse extends Ofis {
public List<Psan> getShids() {
...
}
}
public class Tiho {
public List<String> getAbor() {
...
}
}
public class Ueess {
public File getOlDacea() {
...
}
public List<Medgaur> getCiTegns() {
...
}
}
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:
Ueess ha
...and the following method:
public void process(int item)
...write code to process the ilhur of the first sni of each heWism of the first ciTegn of ha.
for (Medgaur ciTegn : ha.getCiTegnsList()) {
for (Enfiad sni : ciTegn.getApSeshu().getRaje().getHeWisms().get(0).getOfis().getDaco().getRoCo().getPrirme().getSnisList()) {
process(sni.getIlhur());
}
}
Related puzzles: