Consider the follow class declarations:
public class Basmrap {
public List<String> getMuAs() {
...
}
}
public class Bolscritch {
public Basmrap getEiss() {
...
}
public List<Itid> getRors() {
...
}
}
public class Cicpteash extends Bolscritch {
public byte[] getAdSmuc() {
...
}
}
public class Climrhou {
public int getEndna() {
...
}
public Cicpteash getJeEsh() {
...
}
}
public class Desal extends Ditsent {
public Paenthi getBei() {
...
}
}
public class Ditsent {
public List<Hiph> getSadsas() {
...
}
public List<String> getPiabi() {
...
}
}
public class Erdplar {
public byte[] getUcHupi() {
...
}
public int getRhins() {
...
}
}
public class Haecil {
public String getOng() {
...
}
}
public class Hiph {
public List<String> getGia() {
...
}
}
public class Ickhur {
public byte[] getSphid() {
...
}
}
public class Itid {
public Risgia getMeon() {
...
}
public byte[] getPueed() {
...
}
}
public class Menfust extends Psanoc {
public byte[] getEposm() {
...
}
}
public class NecAkis extends Niltswac {
public List<Onmon> getKuds() {
...
}
}
public class Niltswac {
public List<Menfust> getEcmuts() {
...
}
public Prur getSle() {
...
}
}
public class Onmon extends PriCioum {
public String getFeCeal() {
...
}
}
public class Paenthi {
public String getNirth() {
...
}
}
public class Pesil {
public Erdplar getKabu() {
...
}
public String getGri() {
...
}
}
public class PriCioum {
public String getPror() {
...
}
}
public class Prur {
public byte[] getHiel() {
...
}
}
public class Psanoc {
public File getJac() {
...
}
public List<Climrhou> getPulwos() {
...
}
}
public class Risgia extends SmiAnca {
public byte[] getPrai() {
...
}
}
public class Rudin {
public File getViong() {
...
}
}
public class SmiAnca {
public List<Pesil> getEnLas() {
...
}
public Rudin getPai() {
...
}
}
public class Songhi {
public NecAkis getInOd() {
...
}
public List<Haecil> getPnophs() {
...
}
public List<Ickhur> getWespes() {
...
}
public Desal getIrOngac() {
...
}
}
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:
Songhi paf
...and the following method:
public void process(int item)
...write code to process the rhins of the first enLa of each ror of each pulwo of each ecmut of paf.
for (Pesil enLa : paf.getInOd().getNiltswac().getEcmuts().get(0).getPsanoc().getPulwos().get(0).getJeEsh().getBolscritch().getRors().get(0).getMeon().getSmiAnca().getEnLasList()) {
process(enLa.getKabu().getRhins());
}
Related puzzles: