In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem ?

A. moving this knowledge out of the framework

B. instantiating the application specific documents without knowing their class

C. all of the mentioned

D. encapsulating the knowledge of which document subclass to is to be created and

Be the first to comment if anything wrong with this mcq
Your comment successfully submitted!
It will automatically posted after review and approval by our staff member.