Consider the follow class declarations:
public class CecTont {
public List<String> getRasm() {
...
}
public List<Higiss> getSases() {
...
}
public File getMei() {
...
}
}
public class Elkiwl {
public Picpif getLecs() {
...
}
public Riocsweul getOng() {
...
}
}
public class Etwoo extends Longwrou {
public byte[] getAeng() {
...
}
}
public class Higiss {
public List<String> getCiBi() {
...
}
}
public class Ighte {
public String getOlBissa() {
...
}
}
public class Longwrou {
public Wetch getOlxod() {
...
}
public List<CecTont> getEvRos() {
...
}
}
public class Picpif extends Etwoo {
public byte[] getElce() {
...
}
}
public class PriFritack {
public String getCalso() {
...
}
public List<Elkiwl> getItcos() {
...
}
}
public class Riocsweul extends Ighte {
public byte[] getHecae() {
...
}
}
public class Wetch {
public String getCated() {
...
}
}
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:
PriFritack o
...and the following method:
public void process(File item)
...write code to process the mei of each evRo of each itco of o.
process(o.getItcos().get(0).getLecs().getEtwoo().getLongwrou().getEvRos().get(0).getMei());
Related puzzles: