Consider the follow class declarations:
public class Brimeung {
public byte[] getProi() {
...
}
}
public class Brissu {
public String getPiRo() {
...
}
}
public class Ceis {
public OngPrabi getDuDedic() {
...
}
public Ciodos getEsm() {
...
}
}
public class Ciodos extends OgoPid {
public byte[] getBeph() {
...
}
}
public class Clate {
public int getGleus() {
...
}
}
public class Eusmtal {
public String getDePa() {
...
}
public List<Ceis> getQais() {
...
}
}
public class Grelshict {
public List<String> getLon() {
...
}
}
public class Iprill {
public byte[] getSenee() {
...
}
}
public class Kost extends NesPrata {
public String getCosco() {
...
}
}
public class LiaHuha {
public File getPorph() {
...
}
public List<Grelshict> getOcus() {
...
}
public File getKiod() {
...
}
}
public class NesPrata {
public Rhopse getBre() {
...
}
public List<String> getMuTant() {
...
}
}
public class OgoPid {
public Clate getPasca() {
...
}
public Sano getMoMe() {
...
}
public Prun getUrm() {
...
}
}
public class OngPrabi {
public int getMiCedpa() {
...
}
}
public class Prun extends Sqour {
public byte[] getPri() {
...
}
}
public class Rhopse {
public List<Eusmtal> getEljans() {
...
}
public Brimeung getCiUd() {
...
}
}
public class Sano {
public List<Weihell> getAuils() {
...
}
public List<Iprill> getChroes() {
...
}
}
public class Sqour {
public List<Brissu> getTucers() {
...
}
public File getRii() {
...
}
}
public class Weihell extends LiaHuha {
public File getPheng() {
...
}
}
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:
Kost li
...and the following method:
public void process(File item)
...write code to process the kiod of each auil of each qai of the first eljan of li.
for (Eusmtal eljan : li.getNesPrata().getBre().getEljansList()) {
process(eljan.getQais().get(0).getEsm().getOgoPid().getMoMe().getAuils().get(0).getLiaHuha().getKiod());
}
Related puzzles: