18-11-2021

1. Quiz

2. Ôn lại kiến thức

  • Dọn rác - Quét rác

"Đưa rác ra ngoài vũ trụ" --> User (người ngoài hành tinh)

Dùng kỹ thuật Reflection để khởi tạo class nằm trong file config.

  • Sử dụng Interface chung (factory method, prototype) để gom nhóm khởi tạo (sự khác biệt giữa factory method và prototype)

  • Abstract Factory Method: gom nhóm factory method theo một bộ nào đó.

3. Structural Patterns

Prefer "Composition" than "Inheritance"

Last updated

Was this helpful?