Consider the follow class declarations:
public class Bilt extends Loce {
public Lasesm getAnEi() {
...
}
public Tuel getBli() {
...
}
}
public class Bligoon {
public int getCem() {
...
}
public Prenrirl getPopin() {
...
}
}
public class Chie {
public int getCas() {
...
}
}
public class Ieng extends Bligoon {
public Scosh getGiWeumu() {
...
}
}
public class Lasesm {
public byte[] getViAm() {
...
}
}
public class Loce {
public List<String> getPeult() {
...
}
public int getAdPla() {
...
}
}
public class Malil {
public byte[] getUpian() {
...
}
}
public class Orwhid {
public Bilt getCaQecpa() {
...
}
public byte[] getIogio() {
...
}
}
public class Prenrirl {
public String getArInei() {
...
}
public List<Soclic> getArnos() {
...
}
}
public class Rinret {
public List<Chie> getCeRes() {
...
}
public List<Ieng> getUhWias() {
...
}
}
public class Scosh extends Senscu {
public File getOson() {
...
}
}
public class Senscu {
public String getNeure() {
...
}
}
public class Soclic extends Orwhid {
public List<Malil> getPoWirmos() {
...
}
}
public class Tuel {
public List<String> getPuph() {
...
}
}
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:
Rinret wi
...and the following method:
public void process(int item)
...write code to process the adPla of each arno of the first uhWia of wi.
for (Ieng uhWia : wi.getUhWiasList()) {
process(uhWia.getBligoon().getPopin().getArnos().get(0).getOrwhid().getCaQecpa().getLoce().getAdPla());
}
Related puzzles: