Consider the follow class declarations:
public class Boivair {
public List<Mirri> getMeIns() {
...
}
public byte[] getPemar() {
...
}
}
public class Bris {
public byte[] getAnGlilu() {
...
}
public List<Sunba> getRhanes() {
...
}
}
public class Caltred {
public String getOst() {
...
}
}
public class Cesh extends Eand {
public Ditvim getAsGrem() {
...
}
}
public class ChuTheel extends Piambol {
public String getSpo() {
...
}
}
public class Crec {
public int getOlud() {
...
}
}
public class Ditvim {
public File getVun() {
...
}
public int getNin() {
...
}
}
public class Eand {
public int getTiss() {
...
}
}
public class Erban {
public File getOterd() {
...
}
}
public class Esscast {
public List<String> getBic() {
...
}
public Hilrac getGeTo() {
...
}
}
public class GeiUinsha {
public byte[] getTaPo() {
...
}
}
public class Hilrac {
public List<String> getSpe() {
...
}
}
public class Mirri extends Throc {
public List<Caltred> getSmeads() {
...
}
}
public class Pashtesm extends Boivair {
public Sirlu getIuma() {
...
}
}
public class Piambol {
public List<Tredcha> getIases() {
...
}
public List<Crec> getAclads() {
...
}
}
public class Sirlu {
public String getGof() {
...
}
}
public class Sunba {
public List<Esscast> getKnats() {
...
}
public List<Erban> getZitris() {
...
}
public Pashtesm getDuPe() {
...
}
}
public class Throc extends GeiUinsha {
public Cesh getAsiss() {
...
}
}
public class Tral {
public int getBirbo() {
...
}
}
public class Tredcha {
public Tral getIsIl() {
...
}
public Bris getDic() {
...
}
}
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:
ChuTheel aur
...and the following method:
public void process(int item)
...write code to process the nin of each meIn of each rhane of each ias of aur.
process(aur.getPiambol().getIases().get(0).getDic().getRhanes().get(0).getDuPe().getBoivair().getMeIns().get(0).getThroc().getAsiss().getAsGrem().getNin());
Related puzzles: