Consider the follow class declarations:
public class Aewud extends Bikuss {
public int getSacul() {
...
}
}
public class Bikuss {
public List<Swamcol> getNoesms() {
...
}
public byte[] getIdde() {
...
}
}
public class Brinba extends Nend {
public List<String> getPaLo() {
...
}
}
public class Chasead {
public byte[] getEcfo() {
...
}
}
public class Chentvo {
public File getHus() {
...
}
}
public class Cinchspi {
public List<String> getQia() {
...
}
public Kedend getMoPreid() {
...
}
}
public class Ciosp {
public String getDaTolal() {
...
}
public List<Nedauss> getDovus() {
...
}
}
public class Gonpres extends Ciosp {
public Chasead getTecea() {
...
}
public List<Pegrist> getChesms() {
...
}
}
public class Iodi {
public int getSapu() {
...
}
public List<Gonpres> getMeuts() {
...
}
}
public class Kedend {
public List<Resm> getRePos() {
...
}
public List<String> getRoir() {
...
}
}
public class Nedauss {
public String getMaHidep() {
...
}
public File getNeNaure() {
...
}
}
public class Nend {
public List<RalVeasrin> getSpers() {
...
}
public byte[] getBephi() {
...
}
}
public class Pegrist {
public File getTiSpeas() {
...
}
}
public class RalVeasrin extends Chentvo {
public Zedul getSte() {
...
}
public Sinvonch getUrPlee() {
...
}
}
public class Resm {
public int getIscha() {
...
}
}
public class Rischass {
public String getWaui() {
...
}
}
public class Sinvonch {
public Tweness getAlOf() {
...
}
public List<String> getEdCirk() {
...
}
}
public class Swamcol extends Cinchspi {
public List<Rischass> getHiads() {
...
}
public Brinba getAfrod() {
...
}
}
public class Tweness {
public File getTiswa() {
...
}
}
public class Zedul {
public Iodi getSoNa() {
...
}
public byte[] getTeNup() {
...
}
}
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:
Aewud vi
...and the following method:
public void process(File item)
...write code to process the neNaure of the first dovu of the first meut of the first sper of each noesm of vi.
for (RalVeasrin sper : vi.getBikuss().getNoesms().get(0).getAfrod().getNend().getSpersList()) {
for (Gonpres meut : sper.getSte().getSoNa().getMeutsList()) {
for (Nedauss dovu : meut.getCiosp().getDovusList()) {
process(dovu.getNeNaure());
}
}
}
Related puzzles: