Reputation: 25
Connection pool is a example of which design pattern. ? FLY Weight -I think
Java io library is a example of which design pattern. ? – Decorator - I think
Company X is using a library bought from Company Y. But Y has now closed out. So company X bought similar library from Company Z and found that many of the classes are having differnet interfaces compared to the library from Y. What design pattern should be applied by company X to handle this situation? Adapter - i think
In company XYZ, transfer between data center and users have become slow due to less bandwidth. Which design pattern should the programmer apply to sent data efficiently over the low bandwidth network?
One diagram given for a design pattern where AbstractInterface is a interface which contains method A() class1 and class2 extends from Abstract interface and class2 overrides methodA(). It is mentioned that call from client comes to AbstractInterface and the interface delegates the call to respective child classes. Which design pattern is this?
Upvotes: 0
Views: 118
Reputation: 26946
Upvotes: 1