SAP
C_TAW12_750 · Question #72
What is unique about a singleton? Select all that apply.
The correct answer is D. It must be defined as FINAL G. It must be instantiated using a static private constructor. See the full explanation below for the reasoning.
Question
What is unique about a singleton? Select all that apply.
Options
- AIt must be instantiated using a private instance constructor
- BIt must be instantiated using a protected instance constructor
- CIt must be instantiated using a static protected constructor
- DIt must be defined as FINAL
- EIt must be instantiated using a public instance constructor
- FIt cannot be defined as FINAL.
- GIt must be instantiated using a static private constructor
- HIt must be instantiated using a static public constructor
How the community answered
(51 responses)- C10% (5)
- D80% (41)
- E2% (1)
- F4% (2)
- H4% (2)
Community Discussion
No community discussion yet for this question.