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.
Written for
- Institution
- CMPE 202
- Module
- CMPE 202
Document information
- Uploaded on
- May 15, 2024
- Number of pages
- 26
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- cmpe 202 final exam
- cmpe 202
-
cmpe 202 final exam facade pattern hides