Welcome to my Adapter Design Pattern Tutorial! This is a very easy design pattern to grasp and put into use.
This pattern is used when you want to translate one interface of a class into another interface. Now, it makes sense that these 2 interfaces are compatible otherwise the pattern may not make sense. To accomplish this, all you need to do is bridge the differences using our old friend composition again.
Watch the video and look at the code and you'll get it.