Consider the follow class declarations:
public class Aiss {
public String getEnCitu() {
...
}
}
public class Aness extends Dass {
public File getVeOs() {
...
}
}
public class Bindin extends Tant {
public String getOtosh() {
...
}
}
public class Chovuc extends Aiss {
public Tias getPaSi() {
...
}
public Enac getOaVi() {
...
}
}
public class Chregrir {
public List<String> getTheil() {
...
}
}
public class Dass extends Suiten {
public Diprea getFeLal() {
...
}
}
public class Diprea extends Ongsed {
public Bindin getBuWek() {
...
}
}
public class Enac {
public int getTac() {
...
}
public int getEcWism() {
...
}
}
public class Esqel {
public File getReud() {
...
}
public List<Chregrir> getSnints() {
...
}
}
public class FleWal {
public List<Pren> getOpus() {
...
}
public Stel getPlaur() {
...
}
}
public class Lasslo {
public String getHeDeng() {
...
}
}
public class Mioc {
public List<String> getLuPher() {
...
}
}
public class OisSqoswant {
public List<Chovuc> getPlecses() {
...
}
public List<Esqel> getEpnes() {
...
}
public Mioc getRhil() {
...
}
}
public class Ongsed {
public Pefvic getRhart() {
...
}
public byte[] getBron() {
...
}
}
public class Pefvic {
public int getSaes() {
...
}
}
public class Pren {
public List<String> getSkici() {
...
}
}
public class Stel extends Udaer {
public String getVoHea() {
...
}
}
public class Suiten {
public String getLepan() {
...
}
}
public class Tant {
public List<FleWal> getOseads() {
...
}
public int getToPhior() {
...
}
}
public class Tias {
public byte[] getSqada() {
...
}
}
public class Tipeaeng {
public List<String> getBibo() {
...
}
public List<Aness> getPluls() {
...
}
}
public class Udaer extends Lasslo {
public List<OisSqoswant> getNois() {
...
}
}
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:
Tipeaeng nush
...and the following method:
public void process(int item)
...write code to process the ecWism of the first plecs of each noi of each osead of each plul of nush.
for (Chovuc plecs : nush.getPluls().get(0).getDass().getFeLal().getBuWek().getTant().getOseads().get(0).getPlaur().getUdaer().getNois().get(0).getPlecsesList()) {
process(plecs.getOaVi().getEcWism());
}
Related puzzles: