Consider the follow class declarations:
public class Acoas extends RilScac {
public List<String> getEcong() {
...
}
}
public class Aibous {
public Acoas getElAtres() {
...
}
public File getIrcil() {
...
}
}
public class Cism extends Pongpi {
public String getIcks() {
...
}
}
public class Clasm {
public byte[] getBidso() {
...
}
}
public class EdaSesmhan {
public int getNau() {
...
}
}
public class Haccron {
public File getEbuin() {
...
}
}
public class Haddi {
public String getHoIfla() {
...
}
}
public class HeaPras {
public List<Aibous> getUsskis() {
...
}
public Pingsun getGetus() {
...
}
}
public class JitRhi {
public int getShiss() {
...
}
}
public class Leist {
public String getAng() {
...
}
public List<Nalaw> getFlaos() {
...
}
}
public class Nalaw extends OpoBolschau {
public List<EdaSesmhan> getOoics() {
...
}
public Reun getJac() {
...
}
public String getNass() {
...
}
}
public class OpoBolschau {
public String getSca() {
...
}
}
public class Pepsed {
public List<Cism> getAdspes() {
...
}
public String getPhuc() {
...
}
}
public class Pingsun {
public File getAeNa() {
...
}
}
public class Pongpi {
public Leist getPren() {
...
}
public List<Trusrang> getTuCils() {
...
}
}
public class Reun {
public byte[] getUnt() {
...
}
}
public class RilScac extends TudChuos {
public List<WelEdi> getEwDects() {
...
}
}
public class Sapran extends Pepsed {
public Tirfriam getWil() {
...
}
}
public class Scrassseac extends Sengis {
public List<JitRhi> getImchas() {
...
}
}
public class Sengis {
public HeaPras getBli() {
...
}
public List<Clasm> getAiosses() {
...
}
}
public class Tirfriam extends Haddi {
public Haccron getMoErre() {
...
}
}
public class Trusrang {
public byte[] getIiCo() {
...
}
}
public class TudChuos {
public int getBrel() {
...
}
}
public class WelEdi {
public File getIceu() {
...
}
public Sapran getOlcom() {
...
}
}
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:
Scrassseac oim
...and the following method:
public void process(String item)
...write code to process the nass of each flao of each adspe of the first ewDect of each usski of oim.
for (WelEdi ewDect : oim.getSengis().getBli().getUsskis().get(0).getElAtres().getRilScac().getEwDectsList()) {
process(ewDect.getOlcom().getPepsed().getAdspes().get(0).getPongpi().getPren().getFlaos().get(0).getNass());
}
Related puzzles: