Computer Programming MCQs Software Engineering Mcqs
Q 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 A. Encapsulating the knowledge of which document subclass to is to be created and
  • B B. Moving this knowledge out of the framework
  • C C. Instantiating the application specific documents without knowing their class
  • D D. All of the mentioned
Leave a Comment