Consider the follow class declarations:
public class Caqir {
public byte[] getQeo() {
...
}
}
public class Cedbia {
public EsaSpe getKuss() {
...
}
public List<Ploson> getDibases() {
...
}
}
public class Chru {
public String getPenbu() {
...
}
public List<Heoss> getAsfas() {
...
}
}
public class CocPonkgass {
public int getPuxpi() {
...
}
public Cedbia getAtal() {
...
}
}
public class EsaSpe extends Oustma {
public Espra getNusna() {
...
}
}
public class Espra {
public String getBlis() {
...
}
}
public class Heoss extends CocPonkgass {
public List<Caqir> getTros() {
...
}
}
public class Oustma {
public List<Ralbau> getArhes() {
...
}
public List<String> getNia() {
...
}
public int getPopim() {
...
}
}
public class Ploson {
public String getEeSela() {
...
}
}
public class Ralbau {
public int getIflac() {
...
}
}
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:
Chru or
...and the following method:
public void process(int item)
...write code to process the popim of each asfa of or.
process(or.getAsfas().get(0).getCocPonkgass().getAtal().getKuss().getOustma().getPopim());
Related puzzles: