Consider the follow class declarations:
public class Chacceng extends OngPoudu {
public Vosost getManem() {
...
}
}
public class Chanlic extends Prewn {
public EckOess getTiDasm() {
...
}
}
public class Ciodog extends Eaded {
public List<Fregro> getPralas() {
...
}
}
public class Creblis {
public Storec getHeSwame() {
...
}
public String getChra() {
...
}
}
public class Croer extends Scrise {
public List<Rism> getOsRas() {
...
}
}
public class Eaded {
public String getIac() {
...
}
}
public class EckOess {
public List<String> getMiDoil() {
...
}
}
public class Fregro extends Patsta {
public List<PraPraigon> getHetchs() {
...
}
}
public class Hipor extends Jeflin {
public List<String> getDuPheid() {
...
}
}
public class Jeflin {
public List<Voran> getBlulas() {
...
}
public Strina getFio() {
...
}
public List<Uoil> getFrues() {
...
}
}
public class OngPoudu {
public List<Croer> getBiirs() {
...
}
public List<Hipor> getPturs() {
...
}
public Rerbret getImta() {
...
}
}
public class Patsta {
public File getHiUsarn() {
...
}
public List<Creblis> getFics() {
...
}
}
public class Phipu {
public Chacceng getEnSosm() {
...
}
public String getLial() {
...
}
}
public class PraPraigon {
public byte[] getLedi() {
...
}
}
public class Prewn {
public Ciodog getBiea() {
...
}
public List<String> getNanus() {
...
}
}
public class Rerbret {
public byte[] getNoIdson() {
...
}
}
public class Rism {
public File getAeh() {
...
}
}
public class Scrise {
public List<String> getUba() {
...
}
}
public class Storec {
public List<Unrew> getEgOhas() {
...
}
public List<String> getRenel() {
...
}
public File getAdFreis() {
...
}
}
public class Strina {
public byte[] getMaci() {
...
}
}
public class Unrew {
public String getNofra() {
...
}
}
public class Uoil {
public byte[] getFrefo() {
...
}
}
public class Voran {
public byte[] getPapt() {
...
}
public Chanlic getMemon() {
...
}
}
public class Vosost {
public byte[] getOuc() {
...
}
}
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:
Phipu vong
...and the following method:
public void process(File item)
...write code to process the adFreis of each fic of the first prala of the first blula of each ptur of vong.
for (Voran blula : vong.getEnSosm().getOngPoudu().getPturs().get(0).getJeflin().getBlulasList()) {
for (Fregro prala : blula.getMemon().getPrewn().getBiea().getPralasList()) {
process(prala.getPatsta().getFics().get(0).getHeSwame().getAdFreis());
}
}
Related puzzles: