Consider the follow class declarations:
public class Beihil {
public List<Narmcae> getFris() {
...
}
public byte[] getGiix() {
...
}
}
public class BlaAng extends KehSwe {
public List<String> getCingo() {
...
}
}
public class Caler {
public int getSepa() {
...
}
}
public class Deaing {
public int getSifle() {
...
}
public VunBossshull getVorio() {
...
}
}
public class DedCint {
public Phen getEnsen() {
...
}
public byte[] getOsian() {
...
}
}
public class Helthes {
public List<Tisee> getKnels() {
...
}
public List<Deaing> getTiOls() {
...
}
public File getSahen() {
...
}
}
public class KehSwe {
public String getUlOssbo() {
...
}
public List<Slaphe> getLiEldas() {
...
}
}
public class Mehess extends Wuin {
public List<String> getImfip() {
...
}
}
public class Mioek {
public String getEnto() {
...
}
}
public class Muassri {
public Helthes getPlene() {
...
}
public DedCint getPerd() {
...
}
}
public class Narmcae extends Muassri {
public byte[] getScid() {
...
}
}
public class Phen {
public byte[] getNen() {
...
}
}
public class Plicol extends Mioek {
public List<Beihil> getIaRodses() {
...
}
}
public class Slaphe {
public Mehess getPiat() {
...
}
public List<Tonrin> getPaels() {
...
}
}
public class Tisee {
public byte[] getCism() {
...
}
}
public class Tonrin {
public String getUnom() {
...
}
}
public class VunBossshull {
public int getPecda() {
...
}
}
public class Wuin {
public Plicol getRol() {
...
}
public List<Caler> getCiRis() {
...
}
}
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:
BlaAng ic
...and the following method:
public void process(File item)
...write code to process the sahen of the first fri of the first iaRodse of each liElda of ic.
for (Beihil iaRodse : ic.getKehSwe().getLiEldas().get(0).getPiat().getWuin().getRol().getIaRodsesList()) {
for (Narmcae fri : iaRodse.getFrisList()) {
process(fri.getMuassri().getPlene().getSahen());
}
}
Related puzzles: