in Education by

What is Bridge pattern?

1 Answer

0 votes
by

What is Bridge pattern?

Bridge is used when we need to decouple an abstraction from its implementation so that the two can vary independently. This type of design pattern comes under structural pattern as this pattern decouples implementation class and abstract class by providing a bridge structure between them.

This pattern involves an interface which acts as a bridge which makes the functionality of concrete classes independent from interface implementer classes. Both types of classes can be altered structurally without affecting each other.

Related questions

0 votes
    Cucumber acts as a bridge between the business and technical aspects of a project. A. True B. False...
asked Dec 3, 2022 in Education by JackTerrance
0 votes
    Hessian is a custom binary serialization protocol, (which is open-source - I think), that forms the basis ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 27, 2022 in Education by JackTerrance
0 votes
    What would happen if no salt bridge is used in electroCHMemical cell ? Select the correct answer from above options...
asked Jan 5, 2022 in Education by JackTerrance
0 votes
0 votes
    In the Wheatstone bridge shown below, if the resistance in each arm is increased by 0.05%, then the value of ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 17, 2021 in Education by JackTerrance
0 votes
    A rectifier type AC voltmeter consists of a series resistance R, an ideal full-wave rectifier bridge and a PMMC ... GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 16, 2021 in Education by JackTerrance
0 votes
    Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge? (a) Type 1 (b) Type 2 (c) Type ... and Answers, Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    What is the name of the virtual Ethernet bridge that is created at the start of Docker Daemon? (1)docker1 (2)docker00 (3)docker2 (4)docker0...
asked May 2, 2021 in Technology by JackTerrance
0 votes
    Puzzle : Bridge Crossing Jim, Jeanne, Louis and Anne wants to cross the bridge at night. They have only one torch ... . How these people can cross the bridge within 17 minutes?...
asked Feb 12, 2021 in Education by JackTerrance
0 votes
    What The Purpose Of The Gap In The Road On This Bridge?...
asked Jan 6, 2021 in Education by JackTerrance
...