Consider the follow class declarations:
public class Angprar extends Siacs {
public String getZita() {
...
}
}
public class AsmSpeso {
public byte[] getRer() {
...
}
}
public class Asris {
public String getFlio() {
...
}
}
public class Bengsont {
public int getXusti() {
...
}
}
public class Chuva {
public Threlgo getInMuad() {
...
}
public HaaRimung getDaRoci() {
...
}
public List<AsmSpeso> getBucias() {
...
}
}
public class Conrhesh {
public byte[] getIlt() {
...
}
public List<Kest> getEles() {
...
}
}
public class CriFlel {
public Angprar getSwen() {
...
}
public int getAmMapar() {
...
}
}
public class Daper {
public List<Todca> getSlilses() {
...
}
public int getTaxad() {
...
}
public String getSosm() {
...
}
}
public class HaaRimung extends Spliongir {
public List<Holpe> getIlEses() {
...
}
}
public class Heoss {
public File getPhead() {
...
}
}
public class Holpe {
public List<String> getFoPhosh() {
...
}
}
public class JodHiwnniud {
public int getLeNu() {
...
}
}
public class Kest extends CriFlel {
public Bengsont getGuft() {
...
}
}
public class OpoHassci {
public Daper getSeSi() {
...
}
public Heoss getChecu() {
...
}
}
public class OusIensbi extends JodHiwnniud {
public Conrhesh getDiCamti() {
...
}
}
public class Rharosm {
public byte[] getOnhe() {
...
}
public List<OpoHassci> getSoas() {
...
}
}
public class Siacs {
public List<Chuva> getHeDucars() {
...
}
public List<String> getWorp() {
...
}
}
public class Spliongir {
public List<String> getRogor() {
...
}
}
public class Threlgo extends Rharosm {
public byte[] getStic() {
...
}
}
public class Todca extends Asris {
public byte[] getAsUn() {
...
}
}
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:
OusIensbi er
...and the following method:
public void process(String item)
...write code to process the sosm of each soa of each heDucar of each ele of er.
process(er.getDiCamti().getEles().get(0).getCriFlel().getSwen().getSiacs().getHeDucars().get(0).getInMuad().getRharosm().getSoas().get(0).getSeSi().getSosm());
Related puzzles: