Consider the follow class declarations:
public class Caula {
public List<String> getMion() {
...
}
public File getEde() {
...
}
}
public class Flinfo extends TroCasbol {
public List<Ickas> getKochas() {
...
}
}
public class Fring {
public byte[] getMance() {
...
}
}
public class Ickas {
public int getUec() {
...
}
}
public class LiaGlep {
public List<Fring> getBiEses() {
...
}
public Treoulod getPeoss() {
...
}
}
public class Mipa {
public List<Sciss> getOlus() {
...
}
public byte[] getStaod() {
...
}
}
public class Mokist {
public List<LiaGlep> getUsEds() {
...
}
public Tidhi getIlJo() {
...
}
}
public class Noden {
public List<Caula> getGhals() {
...
}
public File getEwn() {
...
}
}
public class Salsplas extends Noden {
public int getTiga() {
...
}
}
public class Sciss extends Usios {
public Flinfo getOnOol() {
...
}
public Salsplas getCuEr() {
...
}
}
public class Tidhi {
public String getGoul() {
...
}
}
public class Treoulod extends Mipa {
public byte[] getQuTia() {
...
}
}
public class TroCasbol {
public String getBaGo() {
...
}
}
public class Usios {
public List<String> getMiLic() {
...
}
}
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:
Mokist seur
...and the following method:
public void process(File item)
...write code to process the ede of each ghal of the first olu of each usEd of seur.
for (Sciss olu : seur.getUsEds().get(0).getPeoss().getMipa().getOlusList()) {
process(olu.getCuEr().getNoden().getGhals().get(0).getEde());
}
Related puzzles: