Which of the following is true for proxy pattern?
A. Has exactly the same interface as the real object
B. Handles routine or illegitimate messages without accessing the real object
C. Delegates messages that it cannot handle to the real object
D. All of the mentioned
Answer:A
Which of the following is true for proxy pattern?
A. Has exactly the same interface as the real object B. Handles routine or illegitimate messages without accessing the real object C. Delegates messages that it cannot handle to the real object D. All of the mentioned
Explanation: All of the mentioned is true.