1.

Which design pattern provides a single class which provides simplified methods required by client and delegates call to those methods?(a) Adapter pattern(b) Builder pattern(c) Facade pattern(d) Prototype patternThe question was asked in an interview for job.I would like to ask this question from Design Patterns topic in portion Java Beans & JDBC of Java

Answer»

The correct choice is (c) Facade PATTERN

Explanation: Facade pattern HIDES the complexities of the system and provides an interface to the client USING which client can access the system.



Discussion

No Comment Found

Related InterviewSolutions