PCPP1 • Practice Test 3 — 25 Questions
Free PCPP1 practice test 3 — 25 questions with explanations. No signup required.
You are implementing a Singleton pattern using the __new__ method. Why is it considered best practice to also define a __call__ method in the metaclass or use a decorator instead of just overriding __new__ in the base class?
Choose an answer to begin — your selection is scored in the full session.
25 questions · instant feedback and full explanations after every question.