Consider the follow class declarations:
public class Ceba {
public int getAiUlled() {
...
}
}
public class Cises {
public byte[] getAng() {
...
}
public List<Nedwhi> getPaVenhos() {
...
}
}
public class Icscrom {
public byte[] getEdSor() {
...
}
}
public class Nedwhi extends TrePidilk {
public Vostcep getPuen() {
...
}
}
public class Nosel {
public Umwiod getDosm() {
...
}
public List<Thilsti> getCeNicods() {
...
}
}
public class Oshan extends Seisol {
public File getSuil() {
...
}
}
public class Seisol {
public String getPhec() {
...
}
public List<Nosel> getNasads() {
...
}
}
public class Thilsti {
public List<String> getRios() {
...
}
}
public class TrePidilk {
public List<String> getPhen() {
...
}
}
public class Umwiod extends Icscrom {
public Uped getEsPaeou() {
...
}
public Ceba getCiss() {
...
}
public File getWaca() {
...
}
}
public class Uped {
public byte[] getEfai() {
...
}
}
public class Vostcep extends Oshan {
public int getEcid() {
...
}
}
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:
Cises ved
...and the following method:
public void process(File item)
...write code to process the waca of each nasad of the first paVenho of ved.
for (Nedwhi paVenho : ved.getPaVenhosList()) {
process(paVenho.getPuen().getOshan().getSeisol().getNasads().get(0).getDosm().getWaca());
}
Related puzzles: