Consider the follow class declarations:
public class Chiell {
public String getEnnus() {
...
}
}
public class Choudud {
public File getIoGammo() {
...
}
public File getOing() {
...
}
}
public class Colad {
public byte[] getNir() {
...
}
}
public class Deprel {
public int getFlism() {
...
}
}
public class Doces {
public List<Mobas> getIlbras() {
...
}
public List<Fesmslar> getHoIhins() {
...
}
}
public class Eatru {
public byte[] getCinte() {
...
}
public Tresspte getBui() {
...
}
}
public class Ecmi {
public int getEseck() {
...
}
}
public class Edet extends Sping {
public int getIaSasme() {
...
}
}
public class Elcan extends Pelfen {
public String getUrch() {
...
}
}
public class EsmQistrin {
public List<String> getPrar() {
...
}
}
public class Fesmslar extends Choudud {
public List<Colad> getCacacs() {
...
}
public List<Ronrha> getMedos() {
...
}
}
public class Gintad {
public List<KodFoufud> getPaNos() {
...
}
public List<EsmQistrin> getBils() {
...
}
}
public class KodFoufud {
public byte[] getCiTe() {
...
}
public Elcan getPeInmul() {
...
}
}
public class Miacan {
public Ecmi getOusi() {
...
}
public Ninjo getBiar() {
...
}
}
public class Mobas {
public byte[] getBeMe() {
...
}
}
public class Ninjo {
public String getAuc() {
...
}
}
public class Osrus {
public int getRil() {
...
}
public Doces getAlWi() {
...
}
}
public class Pelfen {
public int getIur() {
...
}
public List<Eatru> getWetcos() {
...
}
}
public class Pensern {
public byte[] getBiClif() {
...
}
}
public class Psed extends Steph {
public List<Osrus> getUids() {
...
}
public Pensern getEcTre() {
...
}
}
public class Ronrha extends Miacan {
public List<Deprel> getDeOngs() {
...
}
}
public class Sping {
public String getPecro() {
...
}
public Psed getSiAair() {
...
}
}
public class Steph {
public String getEsint() {
...
}
}
public class Tresspte extends Edet {
public Chiell getEgOr() {
...
}
}
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:
Gintad vi
...and the following method:
public void process(File item)
...write code to process the oing of the first hoIhin of each uid of each wetco of each paNo of vi.
for (Fesmslar hoIhin : vi.getPaNos().get(0).getPeInmul().getPelfen().getWetcos().get(0).getBui().getEdet().getSping().getSiAair().getUids().get(0).getAlWi().getHoIhinsList()) {
process(hoIhin.getChoudud().getOing());
}
Related puzzles: