Consider the follow class declarations:
public class Bidess {
public String getOeCian() {
...
}
}
public class EfeHonpsed extends Roughtod {
public List<Jantsos> getHiosses() {
...
}
}
public class Jantsos {
public File getMiEacom() {
...
}
}
public class Meswourd extends Thrisess {
public String getEni() {
...
}
}
public class Pided {
public Bidess getAlcel() {
...
}
public byte[] getAng() {
...
}
}
public class Prensid {
public byte[] getJiHe() {
...
}
public EfeHonpsed getRaPras() {
...
}
}
public class Roughtod {
public File getCio() {
...
}
public byte[] getCiul() {
...
}
}
public class Thrisess {
public List<Pided> getReSteous() {
...
}
public List<Prensid> getSkerds() {
...
}
}
public class Tird {
public File getRaiol() {
...
}
}
public class Zerfiss extends Tird {
public Meswourd getTedel() {
...
}
}
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:
Zerfiss ed
...and the following method:
public void process(byte[] item)
...write code to process the ciul of each skerd of ed.
process(ed.getTedel().getThrisess().getSkerds().get(0).getRaPras().getRoughtod().getCiul());
Related puzzles: