Consider the follow class declarations:
public class Blutdi {
public List<Istdal> getUnRenases() {
...
}
public File getKnaen() {
...
}
}
public class Caedba extends Siontau {
public List<Eournan> getQols() {
...
}
public List<Luec> getWaUdes() {
...
}
}
public class Cecen {
public List<Preslai> getIrfios() {
...
}
public List<String> getManu() {
...
}
}
public class Clentmi {
public Caedba getIspe() {
...
}
public File getWhei() {
...
}
}
public class Duen extends Clentmi {
public String getIscen() {
...
}
}
public class Eeftsiaf {
public List<String> getTiTetga() {
...
}
}
public class Elert {
public byte[] getAnSe() {
...
}
}
public class Eournan {
public List<Isoa> getEsuwls() {
...
}
public String getCrord() {
...
}
}
public class Gnedloo {
public List<Totclad> getEjos() {
...
}
public Cecen getEcin() {
...
}
}
public class Isoa {
public Zatme getPaBiss() {
...
}
public Eeftsiaf getOniar() {
...
}
}
public class Istdal {
public byte[] getDiBou() {
...
}
}
public class LonOssio {
public String getMaScair() {
...
}
}
public class Luec extends Reou {
public Blutdi getMoen() {
...
}
}
public class NofCelmeass {
public List<String> getPreec() {
...
}
public int getIrsta() {
...
}
}
public class Preslai {
public int getItha() {
...
}
}
public class Reou {
public List<String> getSihih() {
...
}
}
public class Siontau {
public int getIctad() {
...
}
}
public class Siwup {
public List<Elert> getGiVas() {
...
}
public Duen getOha() {
...
}
public Thintog getTir() {
...
}
}
public class Swamish {
public byte[] getIaloo() {
...
}
public Gnedloo getElGom() {
...
}
}
public class Thintog extends LonOssio {
public byte[] getIarhi() {
...
}
}
public class Totclad extends NofCelmeass {
public int getGrede() {
...
}
}
public class TreNau {
public byte[] getFeGrall() {
...
}
public List<Xenjeen> getMoams() {
...
}
}
public class Xenjeen extends Siwup {
public byte[] getAngmi() {
...
}
}
public class Zatme extends Swamish {
public int getTreng() {
...
}
}
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:
TreNau ioho
...and the following method:
public void process(int item)
...write code to process the irsta of each ejo of each esuwl of each qol of the first moam of ioho.
for (Xenjeen moam : ioho.getMoamsList()) {
process(moam.getSiwup().getOha().getClentmi().getIspe().getQols().get(0).getEsuwls().get(0).getPaBiss().getSwamish().getElGom().getEjos().get(0).getNofCelmeass().getIrsta());
}
Related puzzles: