Consider the follow class declarations:
public class Asmgli extends Lapa {
public Masssie getDeEt() {
...
}
public List<Boang> getIsrads() {
...
}
}
public class Bahaw {
public String getPle() {
...
}
}
public class Boang {
public File getTaUrhac() {
...
}
public List<Cuglad> getEdcos() {
...
}
}
public class CeiRhot {
public File getDirm() {
...
}
}
public class Chiop {
public Ipsop getEspa() {
...
}
public String getMiAl() {
...
}
}
public class Cuglad {
public List<String> getCidil() {
...
}
}
public class Denpan {
public File getIrang() {
...
}
}
public class EaeMeje extends Chiop {
public String getOcak() {
...
}
}
public class Engzo extends Phuscar {
public int getSeu() {
...
}
}
public class Halflio extends Pinos {
public Tweng getSaru() {
...
}
}
public class Ipsop extends PelCasi {
public List<Bahaw> getRhums() {
...
}
public List<String> getCouxo() {
...
}
}
public class Lapa {
public CeiRhot getIsEnmi() {
...
}
public int getPitdi() {
...
}
}
public class Masssie {
public Denpan getDaMaod() {
...
}
public Puccrel getOfi() {
...
}
}
public class PelCasi {
public File getGri() {
...
}
public List<Sisloe> getMaOisms() {
...
}
}
public class Phuscar {
public String getIuoon() {
...
}
public List<Halflio> getPrurs() {
...
}
}
public class Pinos {
public List<Asmgli> getCusgis() {
...
}
public byte[] getFenju() {
...
}
}
public class Puccrel {
public List<String> getSoMoars() {
...
}
public List<EaeMeje> getVeeds() {
...
}
}
public class Sisloe {
public File getCeJel() {
...
}
}
public class TeoEnclic {
public byte[] getOtClost() {
...
}
public Engzo getNes() {
...
}
}
public class Tweng {
public List<String> getBrea() {
...
}
}
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:
TeoEnclic ezi
...and the following method:
public void process(List<String> item)
...write code to process the couxo of each veed of each cusgi of the first prur of ezi.
for (Halflio prur : ezi.getNes().getPhuscar().getPrursList()) {
process(prur.getPinos().getCusgis().get(0).getDeEt().getOfi().getVeeds().get(0).getChiop().getEspa().getCouxo());
}
Related puzzles: