class Aircraft { private int capacity; private String name; }
class FirstClassCabinAircraft extends Aircraft { }
class ViewingAreaAircraft extends Aircraft { }
class CommunicationsSystemAircraft extends Aircraft { }
class FirstClassCabinCommunicationsSystemAircraft extends Aircraft { }
I was unable to identify What is wrong with the design? Which design pattern would be suitable to remove deficiencies in the design. Can someone please help me Thanks.
Aucun commentaire:
Enregistrer un commentaire