Consider the follow class declarations:
public class Abru {
public File getNie() {
...
}
}
public class Chuiw {
public List<String> getDaad() {
...
}
public List<Ilwho> getTaDeds() {
...
}
}
public class Earic {
public List<String> getScie() {
...
}
}
public class Gliafa extends PukNuis {
public int getEthco() {
...
}
}
public class Ilwho extends Trafpix {
public String getErci() {
...
}
}
public class Nermeang {
public File getPreon() {
...
}
}
public class Nuchang extends Stanchar {
public List<Plos> getOnIaas() {
...
}
}
public class Osschis {
public File getOstlo() {
...
}
}
public class Pissma {
public String getCasi() {
...
}
}
public class Plos {
public Osschis getCalto() {
...
}
public List<Abru> getQioses() {
...
}
}
public class PukNuis {
public String getDrold() {
...
}
public Sefdour getSosi() {
...
}
}
public class Scincttros {
public byte[] getIrTe() {
...
}
}
public class Sefdour extends Pissma {
public String getArmi() {
...
}
public byte[] getGeUas() {
...
}
}
public class Stanchar {
public Gliafa getFuh() {
...
}
public List<String> getBii() {
...
}
}
public class Tadmill extends Earic {
public List<Nuchang> getHacos() {
...
}
public Nermeang getArsa() {
...
}
}
public class Trafpix {
public Tadmill getOong() {
...
}
public List<Scincttros> getSeorses() {
...
}
}
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:
Chuiw sism
...and the following method:
public void process(byte[] item)
...write code to process the geUas of each haco of each taDed of sism.
process(sism.getTaDeds().get(0).getTrafpix().getOong().getHacos().get(0).getStanchar().getFuh().getPukNuis().getSosi().getGeUas());
Related puzzles: