Loading, please wait ...
Open its course - Design Patterns
Adapter By Mukhtiar Zamin
Summary

Summary

3
Teachers with
Mukhtiar Zamin
228
Followers
For Learning
All
Visibility
Security Status
1
Contributions
By Teachers
Notes
  1. Students are auto-evaluated against related topics to ensure they learned it.

This lecture will teach you the Adapter design patter, which is a structural design pattern from GoF patterns.

Watch the interactive video

Lab for All, By Mukhtiar Zamin

We are going to create an audio player that should be able to play audios in mp3, mp4 and vlc formats. 

 Click on www.tutorialspoint.com to access its starting code.  

Watch the following video to understand how we develop it with Adapter pattern.

Lab Tasks
  1. Add a support of one another format in the default AudioPlayer
  2. Add two more classes each one support another format of the audio that implements AdvancedMediaPlayer and then utilize them from the main method.
  3. Simplify the AdvancedMediaPlayer interface such that dummy methods are not required to be implemented in the concrete player class. For example PlayVlc method in Mp4Player class is with a dummy definition and not in use.

×

Adapter Evaluation

To earn PASS status, system is about to evaluate you using multiple choice questions (MCQs) and True/False type questions.

  • CAREFULLY READ THE FOLLOWING INSTRUCTIONS!
  • Make sure you have learned this lecture along with its topics and tutorials.
  • On first evaluation you get 100% marks on correct answer, then on 2nd you get 95% marks and so on.
  • Answer the questions with a gap NOT MORE THAN A MINUTE, Otherwise it will re-start.

I have read above instrucitons and ready for evaluation.
Your's
Status
Not Registered
Teacher
Mukhtiar Zamin
Alert
Your performance monitoring will start when you register in a class of this course.

Topics

Questions on

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn, Evaluate and Optimize

Follow Us
Facebook Switch Display Mode Enable Translation
© 2024 - Subject Expert