Challenge: Bridge Pattern
In this challenge, you have to implement the bridge pattern to solve the given problem.
We'll cover the following
Problem statement
Study the code given below and its output. Carefully look at the classes defined and try to understand the purpose of the program.
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.