samedi 31 mars 2018

Does adaptor patter is used in my class diagram?

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?

enter image description here

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