Consider the follow class declarations:
public class Birmmi extends Hisspac {
public byte[] getEpfat() {
...
}
}
public class BliEsm {
public String getNicel() {
...
}
}
public class Femil {
public String getSiIeri() {
...
}
public int getKuEn() {
...
}
}
public class HarShreas extends Ussniar {
public List<Slel> getVedris() {
...
}
}
public class Heckas {
public File getGia() {
...
}
}
public class Hisspac {
public Pruse getMeos() {
...
}
public List<Heckas> getSiuses() {
...
}
}
public class Meshass {
public SulJor getEsJadad() {
...
}
public Turuach getDac() {
...
}
}
public class Miic {
public List<String> getWec() {
...
}
}
public class Nuimad {
public BliEsm getDapor() {
...
}
public List<Birmmi> getHaFias() {
...
}
}
public class Ootbord {
public List<HarShreas> getIabs() {
...
}
public File getVib() {
...
}
}
public class Prichi {
public int getEsta() {
...
}
}
public class Pruse extends Meshass {
public Ootbord getFeParca() {
...
}
}
public class Samcoss {
public String getInUil() {
...
}
}
public class Sangne {
public int getArbi() {
...
}
}
public class Slel {
public File getEmest() {
...
}
}
public class SulJor {
public String getEproa() {
...
}
}
public class Thetiss extends Weng {
public byte[] getIasm() {
...
}
}
public class Tralesm extends Samcoss {
public Miic getCitin() {
...
}
public List<Thetiss> getClishs() {
...
}
public List<Prichi> getRaeses() {
...
}
}
public class Turuach {
public String getPaOden() {
...
}
}
public class Ughti extends Tralesm {
public File getNoi() {
...
}
}
public class Ussniar {
public List<Sangne> getBloases() {
...
}
public Ughti getEddar() {
...
}
}
public class Weng {
public Femil getSoCaho() {
...
}
public byte[] getIun() {
...
}
}
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:
Nuimad od
...and the following method:
public void process(int item)
...write code to process the kuEn of each clish of the first iab of the first haFia of od.
for (Birmmi haFia : od.getHaFiasList()) {
for (HarShreas iab : haFia.getHisspac().getMeos().getFeParca().getIabsList()) {
process(iab.getUssniar().getEddar().getTralesm().getClishs().get(0).getWeng().getSoCaho().getKuEn());
}
}
Related puzzles: