I did my homework that makes some program which has to use adaptor pattern.
But I'm not sure about I used adaptor pattern in homework.
Can you check my diagram and adaptor pattern used?
I designed Car, Plane, Submarine as a adaptor classes which connect Vehicle super class and PrintStates interface.
Am I right?
Aucun commentaire:
Enregistrer un commentaire