Consider the follow class declarations:
public class Boix {
public byte[] getCeProl() {
...
}
public int getMoAsoo() {
...
}
}
public class Floftshous {
public List<Boix> getNels() {
...
}
public byte[] getCoec() {
...
}
}
public class Iangsam extends Kont {
public String getEbomb() {
...
}
}
public class Idben {
public byte[] getWioc() {
...
}
}
public class Inor {
public List<String> getOndno() {
...
}
}
public class Kont {
public Idben getBrur() {
...
}
public Slilres getXoWam() {
...
}
}
public class Rerbiad {
public byte[] getThess() {
...
}
}
public class Slilres extends Inor {
public List<Floftshous> getPids() {
...
}
public Rerbiad getCic() {
...
}
}
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:
Iangsam eosm
...and the following method:
public void process(int item)
...write code to process the moAsoo of each nel of each pid of eosm.
process(eosm.getKont().getXoWam().getPids().get(0).getNels().get(0).getMoAsoo());
Related puzzles: