Consider the follow class declarations:
public class BleOoviong {
public File getIrTism() {
...
}
}
public class Coussclef {
public PloHai getSarm() {
...
}
public Sqin getAsLesan() {
...
}
}
public class Entoss {
public Landsne getInEn() {
...
}
public int getPeSeef() {
...
}
}
public class EorTelo {
public KecCec getErToc() {
...
}
public List<Poosmoom> getDoprus() {
...
}
}
public class Essspo {
public String getVitch() {
...
}
}
public class KecCec extends Naspir {
public File getBePago() {
...
}
}
public class Landsne extends Mentstiec {
public String getProcs() {
...
}
}
public class Mentstiec extends Moihal {
public List<Studlu> getMoMowuds() {
...
}
public List<Mevoa> getMaMelis() {
...
}
}
public class Mevoa {
public int getSemu() {
...
}
}
public class Moihal {
public String getIcDeriu() {
...
}
}
public class Naspir extends Spum {
public File getAlUlo() {
...
}
public File getTapse() {
...
}
}
public class NirPrumesh {
public String getToPusm() {
...
}
}
public class OisChustin {
public NirPrumesh getPuTufi() {
...
}
public Essspo getMaso() {
...
}
public List<Entoss> getMeisses() {
...
}
}
public class PloHai {
public String getTair() {
...
}
}
public class Poosmoom {
public byte[] getSonor() {
...
}
}
public class RekCoght {
public List<String> getDecit() {
...
}
}
public class Spum {
public int getSoa() {
...
}
}
public class Sqin extends Stomest {
public byte[] getCeSes() {
...
}
}
public class Stomest {
public List<OisChustin> getSnis() {
...
}
public List<BleOoviong> getMeRilos() {
...
}
public List<RekCoght> getMadsis() {
...
}
}
public class Studlu extends EorTelo {
public List<String> getPra() {
...
}
}
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:
Coussclef esk
...and the following method:
public void process(File item)
...write code to process the tapse of the first moMowud of each meiss of each sni of esk.
for (Studlu moMowud : esk.getAsLesan().getStomest().getSnis().get(0).getMeisses().get(0).getInEn().getMentstiec().getMoMowudsList()) {
process(moMowud.getEorTelo().getErToc().getNaspir().getTapse());
}
Related puzzles: