Consider the follow class declarations:
public class Chel {
public File getEca() {
...
}
}
public class Chull {
public File getRae() {
...
}
}
public class Esmsor {
public List<Seskid> getIocs() {
...
}
public String getNoGriun() {
...
}
}
public class Flal {
public Sostiant getBiss() {
...
}
public Sindes getOsAri() {
...
}
public List<Poii> getVuBamons() {
...
}
}
public class Liasta {
public int getIaFa() {
...
}
public File getRac() {
...
}
}
public class Losssod {
public byte[] getCac() {
...
}
}
public class Mishas extends Siden {
public List<Chull> getEsbes() {
...
}
}
public class Poii {
public Mishas getAeun() {
...
}
public String getSuee() {
...
}
}
public class Projad extends Liasta {
public byte[] getHeTa() {
...
}
}
public class Rengle {
public String getGrae() {
...
}
}
public class Seskid extends Ukod {
public String getSuScuo() {
...
}
}
public class Siden {
public List<Projad> getFoudes() {
...
}
public List<Losssod> getNecis() {
...
}
}
public class Sindes extends Chel {
public List<String> getQep() {
...
}
}
public class Sostiant {
public byte[] getEcto() {
...
}
}
public class Ukod extends Rengle {
public Flal getRipho() {
...
}
public Zelchrunt getFaoss() {
...
}
}
public class Zelchrunt {
public byte[] getEiss() {
...
}
}
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:
Esmsor ohen
...and the following method:
public void process(File item)
...write code to process the rac of the first foude of each vuBamon of each ioc of ohen.
for (Projad foude : ohen.getIocs().get(0).getUkod().getRipho().getVuBamons().get(0).getAeun().getSiden().getFoudesList()) {
process(foude.getLiasta().getRac());
}
Related puzzles: