CMPE 202 FINAL EXAM Facade pattern hides the complexities of the system and provides an interface to the client using which the client can anceas the cystem. This type of deeign pattern comes under structural pattern as this pattern adds an interface to
CMPE 202 FINAL EXAM Facade pattern hides the complexities of the system and provides an interface to the client using which the client can anceas the cystem. This type of deeign pattern comes under structural pattern as this pattern adds an interface to existing syotem to hide its complexities. This pattern involves a single class which provides simplified methods required by client and delegates calls to methods of existing system classes. Implementation We are going to create a Shape interface and concrete classes implementing the Shape interface. A facade ctass Sf›ape5faker is defined as a next step. ShgpaMa er class uses the concrete classes to delegate user calls to these classes. FecadePatternDemo, our demo class, will use Sfiapnñfakerclaes to show the results.
Escuela, estudio y materia
- Institución
- CMPE 202
- Grado
- CMPE 202
Información del documento
- Subido en
- 15 de mayo de 2024
- Número de páginas
- 26
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
- cmpe 202
- cmpe 202 final exam
-
cmpe 202 final exam facade pattern hides the comp