Consider the follow class declarations:
public class Aikba {
public File getInin() {
...
}
}
public class Assprel {
public File getJile() {
...
}
}
public class CecSce extends Dant {
public GruLeico getCoi() {
...
}
public Fism getStiam() {
...
}
public List<Goent> getHaAcs() {
...
}
}
public class Dant {
public List<String> getIrDi() {
...
}
}
public class DusUlo extends Aikba {
public String getOinte() {
...
}
public int getUcIght() {
...
}
}
public class Eslil extends Mismsoil {
public byte[] getSisti() {
...
}
}
public class Etre extends Sedsian {
public List<NurCreqe> getDous() {
...
}
}
public class Fism {
public String getUnNec() {
...
}
public Rorp getAdLo() {
...
}
}
public class Goent {
public List<Wentpick> getResms() {
...
}
public List<String> getIcdet() {
...
}
}
public class GruLeico {
public String getMiaoc() {
...
}
}
public class MicNint extends VedRiocfiss {
public int getPiAtne() {
...
}
}
public class Mismsoil {
public String getGiac() {
...
}
}
public class NurCreqe {
public File getTadao() {
...
}
}
public class Pittsesh {
public Soungbri getIaSosi() {
...
}
public int getBroc() {
...
}
}
public class Rorp {
public List<String> getIgu() {
...
}
public List<Assprel> getOcmas() {
...
}
}
public class Sedic {
public int getSiGe() {
...
}
public List<DusUlo> getZiLiors() {
...
}
}
public class Sedsian {
public List<Sedic> getIuBas() {
...
}
public List<String> getOipes() {
...
}
}
public class Soungbri {
public Etre getRueg() {
...
}
public byte[] getCaCosbi() {
...
}
}
public class VedRiocfiss {
public File getGias() {
...
}
public CecSce getIrfoo() {
...
}
}
public class Wentpick extends Pittsesh {
public Eslil getSospi() {
...
}
}
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:
MicNint fa
...and the following method:
public void process(int item)
...write code to process the ucIght of the first ziLior of the first iuBa of the first resm of each haAc of fa.
for (Wentpick resm : fa.getVedRiocfiss().getIrfoo().getHaAcs().get(0).getResmsList()) {
for (Sedic iuBa : resm.getPittsesh().getIaSosi().getRueg().getSedsian().getIuBasList()) {
for (DusUlo ziLior : iuBa.getZiLiorsList()) {
process(ziLior.getUcIght());
}
}
}
Related puzzles: