Consider the follow class declarations:
public class Ailcherm extends IaaVeff {
public byte[] getDacwa() {
...
}
}
public class Bril {
public String getMaAn() {
...
}
public List<Fedmess> getAmhods() {
...
}
}
public class Cosslae {
public Derkeu getHus() {
...
}
public int getNud() {
...
}
}
public class Cunmid {
public Mamril getUdDa() {
...
}
public Frusmbe getSwia() {
...
}
}
public class Derkeu {
public byte[] getOop() {
...
}
}
public class EleSparli {
public String getUnFahol() {
...
}
}
public class EocCume {
public File getVocil() {
...
}
}
public class EshCei extends Ontbas {
public List<EocCume> getPecs() {
...
}
}
public class Fedmess extends Stophi {
public List<String> getPra() {
...
}
}
public class Frusmbe {
public List<Ailcherm> getPempts() {
...
}
public TreCrambal getAdWepac() {
...
}
public List<Cosslae> getTiusses() {
...
}
}
public class Helsas {
public List<String> getMoel() {
...
}
}
public class IaaVeff {
public byte[] getDeOr() {
...
}
public Bril getEnEntos() {
...
}
}
public class ImoAngeng extends Semcid {
public EshCei getBri() {
...
}
}
public class Mamril {
public String getInUk() {
...
}
}
public class Neengca {
public List<Stresstung> getSobels() {
...
}
public List<String> getUsWeke() {
...
}
public byte[] getAno() {
...
}
}
public class Ontbas {
public List<Cunmid> getGeasms() {
...
}
public byte[] getEoEbo() {
...
}
}
public class Semcid extends EleSparli {
public List<Helsas> getIrns() {
...
}
}
public class Stophi extends Neengca {
public byte[] getEaSnang() {
...
}
}
public class Stresstung {
public List<String> getCoBi() {
...
}
}
public class TreCrambal {
public int getRai() {
...
}
}
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:
ImoAngeng cel
...and the following method:
public void process(byte[] item)
...write code to process the ano of each amhod of the first pempt of each geasm of cel.
for (Ailcherm pempt : cel.getBri().getOntbas().getGeasms().get(0).getSwia().getPemptsList()) {
process(pempt.getIaaVeff().getEnEntos().getAmhods().get(0).getStophi().getNeengca().getAno());
}
Related puzzles: