/** Interface for objects that can be transported. */ public interface Transportable { /** weight in grams */ public int getWeight(); /** whether the object is hazardous */ public boolean isHazardous(); }