Consider the follow class declarations:
public class Badgloss {
public int getDatdo() {
...
}
}
public class BewIent {
public Hepi getNiar() {
...
}
public byte[] getNiJutch() {
...
}
}
public class Ceilfrear extends Seng {
public String getFaBil() {
...
}
}
public class Ceng {
public File getKeish() {
...
}
public PheCricglo getDaba() {
...
}
}
public class Dillal extends Badgloss {
public List<SesIld> getPeads() {
...
}
}
public class Ecil {
public String getFedal() {
...
}
}
public class EsaHoiass {
public List<String> getPreco() {
...
}
}
public class Helluec {
public byte[] getStec() {
...
}
}
public class Hepi {
public String getTaAncie() {
...
}
}
public class Hiosmhoor {
public List<EsaHoiass> getNiwas() {
...
}
public byte[] getEcin() {
...
}
}
public class Nismond extends BewIent {
public List<Ceng> getAnNas() {
...
}
public Sisbi getPusio() {
...
}
}
public class PheCricglo extends Pradoon {
public List<Ecil> getHirses() {
...
}
}
public class Pradoon {
public File getCaBe() {
...
}
public Dillal getIntec() {
...
}
}
public class Quap {
public List<Nismond> getRifas() {
...
}
public File getLeToos() {
...
}
}
public class Schedrher {
public List<String> getIcka() {
...
}
public Hiosmhoor getOind() {
...
}
public String getHimo() {
...
}
}
public class Seng {
public Quap getCint() {
...
}
public File getMeca() {
...
}
}
public class SesIld extends Schedrher {
public List<Helluec> getGris() {
...
}
}
public class Sisbi {
public File getIssca() {
...
}
}
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:
Ceilfrear la
...and the following method:
public void process(String item)
...write code to process the himo of each pead of each anNa of each rifa of la.
process(la.getSeng().getCint().getRifas().get(0).getAnNas().get(0).getDaba().getPradoon().getIntec().getPeads().get(0).getSchedrher().getHimo());
Related puzzles: