2

When is an enum instance created in java?

  1. When application loads/application startup?
  2. Or is it lazy loaded i.e. it will be created only when it is required for the first time?

If I never use an enum instance in my application, will it still be created and consume memory?

Popeye
  • 1,548
  • 3
  • 25
  • 39

0 Answers0