B
bob
Let's say that a class only allows proper initialization through
its constructor. Let's also say that you need a global variable of
that class,
but you can't initialize it at the beginning of the program.
What is the most practical solution?
its constructor. Let's also say that you need a global variable of
that class,
but you can't initialize it at the beginning of the program.
What is the most practical solution?