Consider the follow class declarations:
public class Cheppren extends Resced {
public List<Etxe> getCulnos() {
...
}
}
public class Ciac {
public String getAnWrou() {
...
}
}
public class Etxe {
public List<String> getPriew() {
...
}
}
public class FuuStepen {
public String getUss() {
...
}
public byte[] getHii() {
...
}
}
public class Phic {
public File getFloac() {
...
}
public FuuStepen getAlon() {
...
}
}
public class Resced extends Ciac {
public List<Phic> getHolaks() {
...
}
}
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:
Cheppren mi
...and the following method:
public void process(byte[] item)
...write code to process the hii of each holak of mi.
process(mi.getResced().getHolaks().get(0).getAlon().getHii());
Related puzzles: