Consider the follow class declarations:
public class Caes extends Gilciu {
public List<String> getPri() {
...
}
}
public class CioAchrall extends SpiFios {
public int getTio() {
...
}
}
public class Daang {
public Plisic getThes() {
...
}
public byte[] getLaod() {
...
}
}
public class Dencess {
public String getGnor() {
...
}
}
public class Drenbred extends Osdount {
public IrtRaa getSce() {
...
}
}
public class Fesesh {
public List<Odse> getEpTas() {
...
}
public File getOpho() {
...
}
public File getHiThi() {
...
}
}
public class Gilciu {
public int getScla() {
...
}
public List<Drenbred> getOoEstars() {
...
}
}
public class Irnoem {
public Fesesh getIasm() {
...
}
public Pissio getMorva() {
...
}
}
public class IrtRaa {
public byte[] getGruar() {
...
}
}
public class IsuRothsho {
public List<String> getLic() {
...
}
}
public class Mandsam {
public byte[] getInAr() {
...
}
}
public class Odse {
public List<Sost> getWhes() {
...
}
public List<Ueghte> getTwixs() {
...
}
}
public class Osdount {
public File getEnt() {
...
}
public CioAchrall getPabra() {
...
}
}
public class Pissio {
public List<Mandsam> getPhias() {
...
}
public IsuRothsho getNen() {
...
}
}
public class Plisic {
public List<Caes> getFaus() {
...
}
public List<String> getToKipac() {
...
}
}
public class Sost {
public String getFre() {
...
}
}
public class SpiFios {
public int getIco() {
...
}
public List<Irnoem> getOssgus() {
...
}
}
public class Ueghte {
public Dencess getReOpral() {
...
}
public File getDaEd() {
...
}
}
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:
Daang ga
...and the following method:
public void process(File item)
...write code to process the hiThi of the first ossgu of each ooEstar of the first fau of ga.
for (Caes fau : ga.getThes().getFausList()) {
for (Irnoem ossgu : fau.getGilciu().getOoEstars().get(0).getOsdount().getPabra().getSpiFios().getOssgusList()) {
process(ossgu.getIasm().getHiThi());
}
}
Related puzzles: