GeeksforGeeks » Object oriented queries

An OOD question

(2 posts)
  1. yogi
    guest
    Posted 1 year ago #

    What is an adapter?

  2. Venki
    Moderator
    Posted 1 year ago #

    A wrapper class that provides interface between incompatible classes. More details on the following links,

    http://en.wikipedia.org/wiki/Adapter_pattern
    http://sourcemaking.com/design_patterns/adapter
    http://www.c2.com/cgi/wiki?AdapterPattern

    Remember that just reading patterns won't help at all. We need to understand the problem first, then use the pattern to solve.


Reply

You must log in to post.

RSS feed for this topic