Consider the follow class declarations:
public class Blicze {
public List<Reaiss> getGeesms() {
...
}
public List<Wentin> getNens() {
...
}
}
public class Enspe {
public byte[] getHiZuje() {
...
}
}
public class Estpeng {
public int getJeste() {
...
}
public int getNiAlse() {
...
}
}
public class Ismea {
public List<String> getDiud() {
...
}
public Sches getGehar() {
...
}
}
public class Nordir extends Preveast {
public SpePrer getIpal() {
...
}
public List<Enspe> getDuEls() {
...
}
}
public class Preveast {
public File getBie() {
...
}
}
public class Pricism extends Uerna {
public File getTrel() {
...
}
}
public class Reaiss {
public Visroun getSces() {
...
}
public Pricism getTanio() {
...
}
}
public class Sches {
public File getPlo() {
...
}
}
public class Semem {
public byte[] getSaGia() {
...
}
}
public class Sholiph extends Blicze {
public List<String> getPrack() {
...
}
}
public class SpePrer extends Estpeng {
public File getCus() {
...
}
}
public class Tadchress extends Ismea {
public List<Semem> getOngs() {
...
}
public List<Nordir> getToEods() {
...
}
}
public class Uerna {
public Tadchress getScush() {
...
}
public List<String> getAnsmi() {
...
}
}
public class Visroun {
public File getHaPi() {
...
}
}
public class Wentin {
public byte[] getIoCa() {
...
}
}
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:
Sholiph oul
...and the following method:
public void process(int item)
...write code to process the niAlse of the first toEod of each geesm of oul.
for (Nordir toEod : oul.getBlicze().getGeesms().get(0).getTanio().getUerna().getScush().getToEodsList()) {
process(toEod.getIpal().getEstpeng().getNiAlse());
}
Related puzzles: