Consider the follow class declarations:
public class Bengel {
public byte[] getLaPiiph() {
...
}
}
public class Bitank {
public List<FakGru> getCaXes() {
...
}
public List<Tecen> getNaets() {
...
}
}
public class Eckma {
public List<String> getSaIo() {
...
}
}
public class EmoLisas {
public Iang getNiis() {
...
}
public int getOss() {
...
}
}
public class FakGru {
public Manbur getMiEc() {
...
}
public File getCicxa() {
...
}
}
public class Hasbrex {
public String getScrer() {
...
}
}
public class Hesmed {
public List<Hasbrex> getPhrases() {
...
}
public List<Plis> getLoueds() {
...
}
public List<Bengel> getSciols() {
...
}
}
public class Iang extends Piamp {
public int getCiac() {
...
}
}
public class Imess extends Hesmed {
public int getEkWock() {
...
}
}
public class Lonsplest {
public List<EmoLisas> getSpes() {
...
}
public File getSto() {
...
}
}
public class Manbur extends Imess {
public Sesm getTafti() {
...
}
}
public class OucOst {
public int getSeng() {
...
}
}
public class Palgo {
public int getPrai() {
...
}
}
public class Piamp extends Eckma {
public OucOst getCriad() {
...
}
public byte[] getEsta() {
...
}
}
public class Plis extends Rariom {
public List<Palgo> getGias() {
...
}
public Tras getPra() {
...
}
}
public class Rariom {
public int getGoPlint() {
...
}
}
public class Sesm {
public byte[] getSpau() {
...
}
}
public class Tarplo {
public int getIec() {
...
}
}
public class Tecen {
public Tarplo getHessa() {
...
}
public String getThase() {
...
}
}
public class Tras extends Lonsplest {
public String getOro() {
...
}
}
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:
Bitank sti
...and the following method:
public void process(byte[] item)
...write code to process the esta of the first spe of each loued of each caXe of sti.
for (EmoLisas spe : sti.getCaXes().get(0).getMiEc().getImess().getHesmed().getLoueds().get(0).getPra().getLonsplest().getSpesList()) {
process(spe.getNiis().getPiamp().getEsta());
}
Related puzzles: