Consider the follow class declarations:
public class Afte {
public List<HarFadtrosh> getBesms() {
...
}
public byte[] getPolwa() {
...
}
}
public class Biouc extends Pedmus {
public File getOcdam() {
...
}
}
public class Breimar {
public List<String> getAuvec() {
...
}
}
public class CesRiz {
public int getInOl() {
...
}
}
public class Dapic {
public File getQarth() {
...
}
}
public class Dicab extends GecMijes {
public String getCaMirb() {
...
}
}
public class Egra {
public Jola getDaIss() {
...
}
public Feprin getMame() {
...
}
}
public class Feneng extends Trirstger {
public List<PioFelvuc> getIpThels() {
...
}
}
public class Feprin {
public byte[] getPrud() {
...
}
}
public class GecMijes extends Pludce {
public Plis getWeSe() {
...
}
public List<Luil> getIots() {
...
}
}
public class Gimbe {
public List<Stasstrex> getDedics() {
...
}
public File getQant() {
...
}
}
public class HarFadtrosh {
public Dicab getUssel() {
...
}
public String getGrule() {
...
}
}
public class Jola {
public Gimbe getRuEpe() {
...
}
public File getBaso() {
...
}
}
public class Luil {
public List<Nangood> getCauns() {
...
}
public List<Breimar> getEpias() {
...
}
public CesRiz getEnEd() {
...
}
}
public class Mouchce {
public List<Biouc> getTios() {
...
}
public Sescirp getSiFli() {
...
}
}
public class Nangood {
public File getAnMif() {
...
}
}
public class Pedmus {
public List<Egra> getSlos() {
...
}
public byte[] getPeCoodi() {
...
}
}
public class PioFelvuc {
public byte[] getGufer() {
...
}
}
public class Plis extends Mouchce {
public List<Feneng> getXoEngces() {
...
}
}
public class Pludce {
public List<String> getRaico() {
...
}
public Dapic getRicec() {
...
}
}
public class Screlish {
public File getHalen() {
...
}
public int getLeCi() {
...
}
}
public class Sescirp {
public List<String> getGac() {
...
}
}
public class Stasstrex extends Screlish {
public byte[] getSagil() {
...
}
}
public class Trirstger {
public String getPnue() {
...
}
}
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:
Afte gigo
...and the following method:
public void process(int item)
...write code to process the leCi of each dedic of the first slo of each tio of each besm of gigo.
for (Egra slo : gigo.getBesms().get(0).getUssel().getGecMijes().getWeSe().getMouchce().getTios().get(0).getPedmus().getSlosList()) {
process(slo.getDaIss().getRuEpe().getDedics().get(0).getScrelish().getLeCi());
}
Related puzzles: