Consider the follow class declarations:
public class Abrol {
public Clox getDulru() {
...
}
public List<Qune> getNidics() {
...
}
}
public class Beseol {
public File getSpre() {
...
}
}
public class Cinsqic {
public File getOha() {
...
}
}
public class Clox {
public List<String> getSmiss() {
...
}
}
public class Diwang {
public List<String> getMesto() {
...
}
public List<Esir> getSaseses() {
...
}
}
public class Elphag extends Flosin {
public IssUak getBepol() {
...
}
public int getDela() {
...
}
}
public class Eochmes extends Diwang {
public int getAsca() {
...
}
}
public class Esir {
public List<Beseol> getPeSnons() {
...
}
public Latiass getJis() {
...
}
}
public class Flosin {
public File getRiCa() {
...
}
}
public class IssUak {
public int getBil() {
...
}
public Weblin getSiPran() {
...
}
}
public class Ivap {
public int getBiPo() {
...
}
}
public class Latiass extends Abrol {
public int getHou() {
...
}
}
public class NaiAdfun extends Elphag {
public List<Ivap> getAoBus() {
...
}
}
public class Nish {
public Eochmes getSisil() {
...
}
public List<String> getKull() {
...
}
}
public class Oging {
public byte[] getSmo() {
...
}
public NaiAdfun getDuod() {
...
}
}
public class Qune {
public List<Cinsqic> getSkos() {
...
}
public List<Oging> getCedmos() {
...
}
}
public class Rolso {
public File getHiri() {
...
}
}
public class Weblin {
public File getArIom() {
...
}
public Rolso getBeTren() {
...
}
}
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:
Nish le
...and the following method:
public void process(int item)
...write code to process the dela of each cedmo of the first nidic of each sases of le.
for (Qune nidic : le.getSisil().getDiwang().getSaseses().get(0).getJis().getAbrol().getNidicsList()) {
process(nidic.getCedmos().get(0).getDuod().getElphag().getDela());
}
Related puzzles: