The text of this article is not in this database — only its details are. Read it on the old site: Adapter Design Pattern Demystified
12 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Adapter Design Pattern Demystified
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Santhakumar MunuswamyPosted Jun 6, 2015, 2:47 AM
Thanks for good work and well explained
Vithal WadjePosted Jun 5, 2015, 2:50 AM
well explained keep it up
Jasminder SinghPosted Jun 4, 2015, 11:50 AM
Ur implementation is correct but I think the code "PS2Mouse mouse = new PS2Mouse();" should have been done in the Adapter class rather than the client code or the adapter calling code. The reason being the client code should not be dealing/initializing the code which is already incompatible to interact with it.
Miguel Angel Ruiz AlvarezPosted Jun 4, 2015, 10:32 AM
Very well explained, thanks for sharing.
NitinPosted Jun 4, 2015, 9:40 AM
nice
Sibeesh VenuPosted Jun 4, 2015, 8:09 AM
Good one.