Which among these are advantages for Function Class?
(a) Additional features can be added to the function class, enhancing its capabilities
(b) The function class can include other data and operations the encapsulated operation needs
(c) All of the mentioned
(d) None of the mentioned
I have been asked this question during an interview.
My question comes from The Prototype Pattern, Reactor Pattern and Command Pattern topic in division Visibility, Accessibility and Information Hiding of Software Architecture