Consider the follow class declarations:
public class Aiia {
public List<String> getRopas() {
...
}
}
public class Bongtra {
public File getIsmin() {
...
}
public List<TudHevosh> getGoEds() {
...
}
}
public class Chronto {
public List<Hamfrop> getShairs() {
...
}
public File getErrun() {
...
}
}
public class Eght {
public List<String> getAnBruis() {
...
}
}
public class Hamfrop {
public int getUsElar() {
...
}
public StiRiog getSaua() {
...
}
}
public class Hongrad extends Othmess {
public byte[] getLeaer() {
...
}
}
public class IckCil {
public File getPeing() {
...
}
}
public class Othmess {
public PucEmneng getDre() {
...
}
public byte[] getNes() {
...
}
}
public class Paephem extends Runga {
public List<String> getCacel() {
...
}
}
public class PucEmneng {
public Uness getOrUc() {
...
}
public List<Paephem> getDromis() {
...
}
}
public class Ranmooc {
public IckCil getHodo() {
...
}
public List<Aiia> getLeghts() {
...
}
}
public class Runga extends Chronto {
public List<Bongtra> getRisms() {
...
}
}
public class Siole extends Vohat {
public List<Hongrad> getIcas() {
...
}
}
public class StiRiog extends Eght {
public List<String> getOeng() {
...
}
public byte[] getNonoi() {
...
}
}
public class TudHevosh {
public Ranmooc getNats() {
...
}
public byte[] getRedto() {
...
}
}
public class Uness {
public byte[] getSpeou() {
...
}
}
public class Vohat {
public byte[] getSpust() {
...
}
}
public class Wrun {
public Siole getCeKisid() {
...
}
public File getEsTuist() {
...
}
}
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:
Wrun fasm
...and the following method:
public void process(byte[] item)
...write code to process the nonoi of each shair of each dromi of each ica of fasm.
process(fasm.getCeKisid().getIcas().get(0).getOthmess().getDre().getDromis().get(0).getRunga().getChronto().getShairs().get(0).getSaua().getNonoi());
Related puzzles: