Consider the follow class declarations:
public class BlaFirmiacs {
public byte[] getMeap() {
...
}
public Thimass getPhack() {
...
}
}
public class Cessesh {
public String getNePeleu() {
...
}
public List<Hoengbo> getDics() {
...
}
}
public class Diko {
public String getOrOs() {
...
}
}
public class Fogaic {
public int getDirir() {
...
}
}
public class Hien {
public byte[] getSqo() {
...
}
}
public class Hoengbo extends Sqecca {
public List<Ientho> getTrocts() {
...
}
}
public class Huasmun {
public Hien getPraw() {
...
}
public List<BlaFirmiacs> getLePrers() {
...
}
}
public class Ientho {
public List<String> getCreie() {
...
}
}
public class Malmest {
public Fogaic getRarl() {
...
}
public File getRiest() {
...
}
}
public class NucStetpra {
public byte[] getPhii() {
...
}
}
public class Preasm extends Malmest {
public int getAng() {
...
}
public byte[] getEaur() {
...
}
}
public class RofAsmtar {
public List<String> getDojot() {
...
}
}
public class Sqecca {
public List<NucStetpra> getOcPeos() {
...
}
public Strup getChuss() {
...
}
}
public class Strup extends Huasmun {
public String getLisud() {
...
}
}
public class Thimass extends Ving {
public List<RofAsmtar> getThrics() {
...
}
}
public class Ving {
public Preasm getOwMe() {
...
}
public List<Diko> getEcSes() {
...
}
}
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:
Cessesh u
...and the following method:
public void process(byte[] item)
...write code to process the eaur of the first lePrer of each dic of u.
for (BlaFirmiacs lePrer : u.getDics().get(0).getSqecca().getChuss().getHuasmun().getLePrersList()) {
process(lePrer.getPhack().getVing().getOwMe().getEaur());
}
Related puzzles: