Consider the follow class declarations:
public class AsmAosh {
public String getBuru() {
...
}
}
public class Borin {
public int getGic() {
...
}
}
public class Cectwop extends Pidwil {
public int getSpi() {
...
}
}
public class Dacle {
public List<Wousit> getMios() {
...
}
public File getEcOn() {
...
}
}
public class Didtriss extends Feciwn {
public int getSeCer() {
...
}
}
public class Feciwn {
public File getGrosm() {
...
}
public List<Ieon> getAtrans() {
...
}
}
public class Gonbec {
public byte[] getIus() {
...
}
}
public class Ieon extends Troclub {
public byte[] getMupso() {
...
}
}
public class Kethta extends Mahert {
public List<Sute> getVelmos() {
...
}
public List<Phio> getNerhes() {
...
}
public Borin getBross() {
...
}
}
public class Mahert {
public byte[] getNoght() {
...
}
}
public class Misi {
public List<String> getEerur() {
...
}
}
public class Niustjoor {
public List<String> getRibro() {
...
}
public List<Kethta> getPseops() {
...
}
}
public class Opri {
public List<String> getCou() {
...
}
}
public class Phio {
public List<String> getTiOrwos() {
...
}
}
public class Pidwil {
public byte[] getUss() {
...
}
}
public class Qushan extends Gonbec {
public Didtriss getStou() {
...
}
}
public class SteAnce extends Dacle {
public List<Opri> getQiuks() {
...
}
public Cectwop getDri() {
...
}
}
public class Sute {
public File getSuost() {
...
}
public List<Misi> getOssmes() {
...
}
public File getInFia() {
...
}
}
public class Troclub {
public Niustjoor getAcEs() {
...
}
public File getPted() {
...
}
}
public class Wousit {
public AsmAosh getSoPaoss() {
...
}
public Qushan getElCang() {
...
}
}
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:
SteAnce prur
...and the following method:
public void process(File item)
...write code to process the inFia of each velmo of each pseop of each atran of the first mio of prur.
for (Wousit mio : prur.getDacle().getMiosList()) {
process(mio.getElCang().getStou().getFeciwn().getAtrans().get(0).getTroclub().getAcEs().getPseops().get(0).getVelmos().get(0).getInFia());
}
Related puzzles: