Consider the follow class declarations:
public class Anad {
public File getCaBi() {
...
}
}
public class Beinta {
public byte[] getIor() {
...
}
}
public class Choung {
public String getShaon() {
...
}
public Resnon getSasdi() {
...
}
public String getCec() {
...
}
}
public class CuiFlal {
public byte[] getOopel() {
...
}
}
public class Epang extends Ghiore {
public Ionphib getPhoc() {
...
}
}
public class FucScofos extends Anad {
public List<Choung> getRors() {
...
}
}
public class Ghiore {
public File getBeuco() {
...
}
public List<Skengblos> getGidixs() {
...
}
}
public class Heic {
public Beinta getLeNila() {
...
}
public List<String> getHeIsci() {
...
}
}
public class Ialma {
public List<Epang> getThis() {
...
}
public List<CuiFlal> getRarhas() {
...
}
}
public class Ionphib extends Heic {
public int getEeThoc() {
...
}
}
public class Pnetunt {
public Posm getNiPebe() {
...
}
public String getKhism() {
...
}
}
public class Posm extends Ialma {
public List<String> getCiish() {
...
}
}
public class Resnon {
public byte[] getAsm() {
...
}
}
public class Skengblos {
public FucScofos getEaps() {
...
}
public File getNand() {
...
}
}
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:
Pnetunt trem
...and the following method:
public void process(String item)
...write code to process the cec of each ror of each gidix of each thi of trem.
process(trem.getNiPebe().getIalma().getThis().get(0).getGhiore().getGidixs().get(0).getEaps().getRors().get(0).getCec());
Related puzzles: