Consider the follow class declarations:
public class Aesm extends Ooso {
public byte[] getAcIas() {
...
}
}
public class Choo {
public EnoIour getMelpu() {
...
}
public Pronba getCel() {
...
}
}
public class Daon {
public String getGengo() {
...
}
public List<Iwec> getFaChaus() {
...
}
}
public class EnoIour extends Trendci {
public List<String> getUar() {
...
}
}
public class Friscuan extends Qebo {
public List<Aesm> getCegels() {
...
}
}
public class IssOmaic {
public String getMiai() {
...
}
}
public class Iwec {
public List<Pesm> getOlries() {
...
}
public List<Wess> getReRonsos() {
...
}
}
public class Meadhel extends Traf {
public OssBrerscur getPridi() {
...
}
}
public class Ooso {
public List<String> getEtan() {
...
}
}
public class OssBrerscur {
public String getCac() {
...
}
public String getTre() {
...
}
}
public class Pesm {
public Pritnioss getUspri() {
...
}
public byte[] getAcmi() {
...
}
}
public class Pritnioss {
public List<Santre> getPrumes() {
...
}
public byte[] getErAl() {
...
}
}
public class Pronba {
public String getOlSto() {
...
}
}
public class Qebo {
public List<String> getSles() {
...
}
public List<Choo> getBonels() {
...
}
}
public class Santre {
public byte[] getCoPhal() {
...
}
}
public class Traf {
public IssOmaic getTuCe() {
...
}
public String getCrema() {
...
}
}
public class Trendci {
public List<String> getSes() {
...
}
public Daon getKechi() {
...
}
}
public class Wess extends Meadhel {
public byte[] getPils() {
...
}
}
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:
Friscuan urdi
...and the following method:
public void process(String item)
...write code to process the tre of each reRonso of each faChau of each bonel of urdi.
process(urdi.getQebo().getBonels().get(0).getMelpu().getTrendci().getKechi().getFaChaus().get(0).getReRonsos().get(0).getMeadhel().getPridi().getTre());
Related puzzles: