Multiple choice

Which of the following is/are false about Proxy design pattern in .Net?

  1. This pattern provides an interface to other objects by creating a wrapper class as the proxy.

  2. It provides the thread-safe feature to an existing class without changing the existing class's code.

  3. This pattern is used to construct a complex object.

  4. This pattern is used in web services.

  5. None of the above.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Proxy pattern does not provide any construction of the object as it provides the representation for the pre-existing object.