Consider the follow class declarations:
public class Blinpa extends LalNio {
public PraMesspos getGrol() {
...
}
}
public class Cang {
public Congtra getTac() {
...
}
public int getTheng() {
...
}
}
public class CecSwisspo {
public Blinpa getDedil() {
...
}
public String getTeont() {
...
}
}
public class Ceth extends Cang {
public Ontfec getSiMu() {
...
}
}
public class Congtra {
public String getMeProl() {
...
}
public List<SulCongwes> getNeses() {
...
}
}
public class Folbli {
public File getWaMegi() {
...
}
}
public class Ickpes {
public byte[] getHeEn() {
...
}
}
public class LalNio {
public List<String> getRac() {
...
}
}
public class Mengprest {
public String getMaDa() {
...
}
}
public class Mifher {
public List<Ceth> getGafts() {
...
}
public Ocop getIdtha() {
...
}
public Tanliec getDeong() {
...
}
}
public class Ocop {
public byte[] getEuec() {
...
}
}
public class Ontfec {
public String getArror() {
...
}
}
public class PraMesspos extends Ickpes {
public List<Scel> getThangs() {
...
}
}
public class Redmec {
public List<Folbli> getPreans() {
...
}
public List<String> getUdcel() {
...
}
}
public class Rhasmpha {
public File getEson() {
...
}
public byte[] getSaiwn() {
...
}
}
public class Scel extends Rhasmpha {
public byte[] getEsiss() {
...
}
}
public class SulCongwes extends CecSwisspo {
public List<Redmec> getSmes() {
...
}
}
public class Tanliec {
public byte[] getCuel() {
...
}
public List<Mengprest> getHaPis() {
...
}
}
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:
Mifher louc
...and the following method:
public void process(byte[] item)
...write code to process the saiwn of each thang of each nes of each gaft of louc.
process(louc.getGafts().get(0).getCang().getTac().getNeses().get(0).getCecSwisspo().getDedil().getGrol().getThangs().get(0).getRhasmpha().getSaiwn());
Related puzzles: