Consider the follow class declarations:
public class Arast extends Hapri {
public List<Prophleth> getVems() {
...
}
}
public class Arros {
public File getEsein() {
...
}
}
public class Chaeksas {
public Iordgad getMios() {
...
}
public List<Arros> getGabens() {
...
}
}
public class Derol {
public String getEit() {
...
}
public Flionbirm getAsMecci() {
...
}
}
public class Ecasm extends Riun {
public Uapi getSas() {
...
}
}
public class Flionbirm extends Iesh {
public List<Arast> getUawns() {
...
}
}
public class Flustrac extends TreBinil {
public List<Ecasm> getPutots() {
...
}
}
public class Hapri extends Nalil {
public List<Chaeksas> getHoas() {
...
}
public Pacpri getRuRapan() {
...
}
}
public class Iesh {
public File getMewa() {
...
}
}
public class Iordgad {
public byte[] getIshke() {
...
}
public int getStin() {
...
}
}
public class Nalil {
public List<String> getEnegh() {
...
}
}
public class Pacpri {
public List<String> getNonge() {
...
}
}
public class Prophleth {
public byte[] getOrm() {
...
}
}
public class Riun {
public Derol getRons() {
...
}
public byte[] getGeGloe() {
...
}
}
public class TreBinil {
public int getTeAlis() {
...
}
}
public class Uapi {
public File getOun() {
...
}
}
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:
Flustrac bi
...and the following method:
public void process(int item)
...write code to process the stin of each hoa of each uawn of the first putot of bi.
for (Ecasm putot : bi.getPutotsList()) {
process(putot.getRiun().getRons().getAsMecci().getUawns().get(0).getHapri().getHoas().get(0).getMios().getStin());
}
Related puzzles: