Consider the follow class declarations:
public class BeoBeed {
public File getAfau() {
...
}
}
public class Bisand extends Schi {
public List<Driosspru> getIsVes() {
...
}
public BeoBeed getMiGla() {
...
}
}
public class Bliuc extends BucCessdar {
public List<Sarth> getAldeus() {
...
}
}
public class BucCessdar {
public byte[] getGirod() {
...
}
}
public class Driosspru {
public byte[] getMeStie() {
...
}
}
public class Lougil {
public int getSwoli() {
...
}
public ZalNahent getDaInce() {
...
}
}
public class Sarth extends Lougil {
public List<Thoul> getEnuis() {
...
}
}
public class Schi {
public String getIni() {
...
}
public int getGhin() {
...
}
}
public class Thoul {
public String getPida() {
...
}
}
public class ZalNahent {
public Bisand getPren() {
...
}
public List<String> getTuha() {
...
}
}
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:
Bliuc ris
...and the following method:
public void process(int item)
...write code to process the ghin of each aldeu of ris.
process(ris.getAldeus().get(0).getLougil().getDaInce().getPren().getSchi().getGhin());
Related puzzles: