Consider the follow class declarations:
public class Alash {
public String getMessi() {
...
}
public List<HucShodca> getAlOcs() {
...
}
}
public class Basmlul {
public String getOsa() {
...
}
}
public class Blant {
public int getEnoc() {
...
}
public List<Stearqis> getDodcos() {
...
}
}
public class Briswir {
public int getArpel() {
...
}
public List<Sesmsos> getHerdos() {
...
}
}
public class Delscris {
public File getGeKiphi() {
...
}
}
public class Enha extends Wour {
public int getErEnom() {
...
}
public File getLaIrl() {
...
}
}
public class HucShodca {
public File getDetda() {
...
}
}
public class Mesmcla {
public byte[] getIxci() {
...
}
public Outaud getNang() {
...
}
}
public class Neado extends Oneod {
public int getPrip() {
...
}
}
public class Oneod {
public byte[] getLabi() {
...
}
public Blant getLouon() {
...
}
}
public class Outaud extends Briswir {
public byte[] getIoa() {
...
}
}
public class Plid {
public String getFanlu() {
...
}
}
public class Schiess {
public File getHeIaceu() {
...
}
}
public class Sesmsos extends SquUeet {
public File getOlRaa() {
...
}
}
public class SquUeet {
public Enha getTiPran() {
...
}
public Vantta getSiler() {
...
}
}
public class Stearqis extends Plid {
public List<Delscris> getSpings() {
...
}
public List<Mesmcla> getCeans() {
...
}
}
public class Vantta {
public Basmlul getPuhul() {
...
}
public List<Schiess> getPiDapos() {
...
}
}
public class Wour {
public Alash getFih() {
...
}
public List<String> getSaUlis() {
...
}
}
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:
Neado kouo
...and the following method:
public void process(File item)
...write code to process the laIrl of each herdo of each cean of each dodco of kouo.
process(kouo.getOneod().getLouon().getDodcos().get(0).getCeans().get(0).getNang().getBriswir().getHerdos().get(0).getSquUeet().getTiPran().getLaIrl());
Related puzzles: