Java OCA OCP Practice Question 394

Question

Which design patterns are classified as creational design patterns?

Choose all that apply.

  • A. Coupling
  • B. DAO
  • C. Factory
  • D. IS-A
  • E. Object composition
  • F. Singleton


C and F are correct.

Note

The factory design pattern creates new objects for each call, and the singleton design pattern creates one object, returning it each time.




PreviousNext

Related