Activation is dynamic at runtime. Compilation errors during compilation. Thus, the answer is no, it is impossible to get a compilation error for any second instance.
However, you can use singleton, but be very careful about whether this is really necessary.
source
share