Consider the follow class declarations:
public class Cicfir {
public byte[] getStec() {
...
}
}
public class Eanto extends Sharlo {
public File getPue() {
...
}
}
public class Escreest {
public String getDaduc() {
...
}
}
public class Ivuat {
public String getIdwe() {
...
}
}
public class Kantor extends Veress {
public List<Prestont> getOdNias() {
...
}
}
public class Khabun {
public List<OpuGiad> getHars() {
...
}
public List<String> getCiIurl() {
...
}
}
public class LefHencli {
public String getHeur() {
...
}
public Eanto getAwmic() {
...
}
}
public class Moep {
public List<String> getWrup() {
...
}
}
public class Mosmad extends Sqad {
public File getOans() {
...
}
}
public class Mustplit {
public List<LefHencli> getOlhes() {
...
}
public byte[] getFespa() {
...
}
}
public class OpuGiad {
public Kantor getMusli() {
...
}
public Ivuat getMaUp() {
...
}
}
public class Prestont extends Moep {
public byte[] getLiru() {
...
}
}
public class Riosh extends Mustplit {
public String getPso() {
...
}
}
public class Sharlo {
public Escreest getFusda() {
...
}
public List<Mosmad> getAhSas() {
...
}
public int getPses() {
...
}
}
public class Sqad {
public List<String> getIeMogi() {
...
}
}
public class Veress {
public Riosh getCuni() {
...
}
public List<Cicfir> getArSios() {
...
}
}
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:
Khabun ia
...and the following method:
public void process(int item)
...write code to process the pses of each olhe of each har of ia.
process(ia.getHars().get(0).getMusli().getVeress().getCuni().getMustplit().getOlhes().get(0).getAwmic().getSharlo().getPses());
Related puzzles: