Consider the follow class declarations:
public class Alil extends Saist {
public byte[] getOlEl() {
...
}
}
public class Ciha {
public List<String> getQor() {
...
}
}
public class Codro {
public byte[] getCoh() {
...
}
}
public class Dadsin extends Rean {
public String getOncac() {
...
}
}
public class Damb {
public List<String> getEand() {
...
}
public Alil getOapiw() {
...
}
}
public class Esle {
public String getEnnan() {
...
}
public Ilvont getAcia() {
...
}
}
public class Hongnauc {
public int getRir() {
...
}
}
public class Ilvont extends Hongnauc {
public List<Damb> getSiPloses() {
...
}
}
public class Khol {
public List<String> getApir() {
...
}
}
public class Laint {
public byte[] getVaec() {
...
}
}
public class Mingma extends Wotran {
public Dadsin getJaAdarb() {
...
}
}
public class Phee {
public List<Valo> getFrefs() {
...
}
public Khol getTrool() {
...
}
}
public class Rean {
public File getIlHegi() {
...
}
public List<Phee> getVedos() {
...
}
}
public class Saist extends Urcod {
public File getErFla() {
...
}
public File getOaest() {
...
}
}
public class Urcod {
public List<Winstra> getEdBoirs() {
...
}
public byte[] getKunca() {
...
}
}
public class Valo extends Esle {
public List<String> getEsOpsop() {
...
}
}
public class Winstra {
public List<Codro> getFlefes() {
...
}
public byte[] getViosi() {
...
}
}
public class Wotran {
public Laint getIrdon() {
...
}
public Ciha getEpe() {
...
}
}
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:
Mingma qasa
...and the following method:
public void process(File item)
...write code to process the oaest of the first siPlos of the first fref of each vedo of qasa.
for (Valo fref : qasa.getJaAdarb().getRean().getVedos().get(0).getFrefsList()) {
for (Damb siPlos : fref.getEsle().getAcia().getSiPlosesList()) {
process(siPlos.getOapiw().getSaist().getOaest());
}
}
Related puzzles: