What is unique about a singleton? Select all that apply.

What is unique about a singleton? Select all that apply.
A . It must be instantiated using a private instance constructor
B . It must be instantiated using a protected instance constructor
C . It must be instantiated using a static protected constructor
D . It must be defined as FINAL
E . It must be instantiated using a public instance constructor
F . It cannot be defined as FINA
H . It must be instantiated using a static private constructor
. It must be instantiated using a static public constructor

Answer: D,G

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments