Consider the follow class declarations:
public class Bariss {
public String getSles() {
...
}
}
public class Chanse {
public int getHur() {
...
}
}
public class Diess {
public int getWegus() {
...
}
public List<Pourslin> getViCes() {
...
}
}
public class Floerm {
public String getMemca() {
...
}
public List<Mioll> getWadtes() {
...
}
}
public class Hedec extends Chanse {
public Twioras getVowa() {
...
}
public List<Floerm> getCils() {
...
}
}
public class IrtItang {
public Skeouo getHirl() {
...
}
public Bariss getSes() {
...
}
}
public class Mioll {
public int getRaSnoid() {
...
}
}
public class Pourslin {
public int getEsOs() {
...
}
public List<Stopre> getPaIlfels() {
...
}
}
public class Skeouo extends Tathua {
public byte[] getSopo() {
...
}
public List<String> getOtwa() {
...
}
}
public class Stopre extends IrtItang {
public File getVilar() {
...
}
}
public class Tathua {
public File getNec() {
...
}
}
public class Twioras extends Diess {
public List<String> getHoul() {
...
}
}
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:
Hedec thac
...and the following method:
public void process(List<String> item)
...write code to process the otwa of each paIlfel of each viCe of thac.
process(thac.getVowa().getDiess().getViCes().get(0).getPaIlfels().get(0).getIrtItang().getHirl().getOtwa());
Related puzzles: