Consider the follow class declarations:
public class Ashe {
public List<String> getItad() {
...
}
}
public class Celhu extends Ashe {
public List<Heicned> getFrects() {
...
}
}
public class Cupra extends UesBebe {
public List<Proar> getSpirs() {
...
}
}
public class Estmant {
public byte[] getIash() {
...
}
}
public class Heicned {
public Qajang getNic() {
...
}
public List<String> getCla() {
...
}
}
public class Proar {
public String getEnIt() {
...
}
public Sismsin getEnu() {
...
}
}
public class Qajang extends Relles {
public List<Estmant> getCaIcs() {
...
}
}
public class Relles {
public int getAnDu() {
...
}
public List<Cupra> getSengs() {
...
}
}
public class Sismsin {
public String getFoPa() {
...
}
}
public class UesBebe {
public Wess getHisou() {
...
}
public UssBalbont getTeris() {
...
}
}
public class UssBalbont {
public byte[] getAsErtis() {
...
}
public List<String> getRechi() {
...
}
}
public class Wess {
public File getNetch() {
...
}
}
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:
Celhu ibea
...and the following method:
public void process(List<String> item)
...write code to process the rechi of each seng of each frect of ibea.
process(ibea.getFrects().get(0).getNic().getRelles().getSengs().get(0).getUesBebe().getTeris().getRechi());
Related puzzles: