class PDestination implements Destination { private String label; private PDestination(String whereTo) { label = whereTo; } public String readLabel() { return label; } } return new PDestination(s);
Parcel4 p = new Parcel4(); Destination d = p.dest("Tanzania");