Consider the follow class declarations:
public class Bisqiod {
public List<String> getMechi() {
...
}
public Ures getTeAnso() {
...
}
}
public class Biss {
public List<String> getDaje() {
...
}
public List<EhaTankcod> getShasses() {
...
}
}
public class EhaTankcod {
public byte[] getXaid() {
...
}
public int getEnted() {
...
}
}
public class EleVodtin extends Bisqiod {
public byte[] getAness() {
...
}
}
public class Epnuc {
public byte[] getRol() {
...
}
}
public class Fuderm extends Rittad {
public IemKousbe getCood() {
...
}
public Phed getTodje() {
...
}
}
public class IemKousbe {
public File getSaCi() {
...
}
}
public class IrlOism {
public byte[] getInear() {
...
}
}
public class LalMisear {
public EleVodtin getOxNin() {
...
}
public int getHac() {
...
}
}
public class Nanork extends IrlOism {
public List<Spiossfic> getMueses() {
...
}
public List<LalMisear> getPsans() {
...
}
}
public class Phed {
public File getCaKo() {
...
}
}
public class Rittad extends Biss {
public List<Sanac> getOeEnads() {
...
}
}
public class RuoPlo {
public List<Epnuc> getCiords() {
...
}
public byte[] getIbiw() {
...
}
}
public class Sanac {
public byte[] getErTes() {
...
}
}
public class Spiossfic {
public int getBuIront() {
...
}
}
public class Ures {
public RuoPlo getCisen() {
...
}
public List<Fuderm> getDrins() {
...
}
}
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:
Nanork ir
...and the following method:
public void process(int item)
...write code to process the ented of each shass of each drin of the first psan of ir.
for (LalMisear psan : ir.getPsansList()) {
process(psan.getOxNin().getBisqiod().getTeAnso().getDrins().get(0).getRittad().getBiss().getShasses().get(0).getEnted());
}
Related puzzles: