Consider the follow class declarations:
public class Engve extends Virchdosm {
public Mongve getToIdfre() {
...
}
}
public class Esper {
public List<String> getVur() {
...
}
}
public class Glang {
public File getDast() {
...
}
}
public class Ilper {
public String getTeIoc() {
...
}
public List<PhaOnbi> getSaStons() {
...
}
}
public class Mongve {
public File getVeTes() {
...
}
}
public class Muess {
public int getFeEatse() {
...
}
}
public class Neol extends Ilper {
public File getEtre() {
...
}
}
public class PhaOnbi {
public byte[] getMeLi() {
...
}
public Riansio getLuses() {
...
}
}
public class Riansio {
public Ucra getInSaoss() {
...
}
public byte[] getSto() {
...
}
public File getStren() {
...
}
}
public class Tein {
public List<Esper> getMoPnens() {
...
}
public Engve getHiNioss() {
...
}
}
public class Ucra {
public byte[] getIrSaded() {
...
}
}
public class Virchdosm extends Muess {
public List<Glang> getHenals() {
...
}
public List<Neol> getDuas() {
...
}
}
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:
Tein usm
...and the following method:
public void process(File item)
...write code to process the stren of the first saSton of each dua of usm.
for (PhaOnbi saSton : usm.getHiNioss().getVirchdosm().getDuas().get(0).getIlper().getSaStonsList()) {
process(saSton.getLuses().getStren());
}
Related puzzles: