On 08/08/2013 02:45 PM, Borislav Kosharov wrote:
If I have any enum in a class is it one for all instances or one per
instance? Also are enums one per thread or only one?

More than that. :) enums are manifest constants.

Imagine that enum as being pasted into source code as is. This used to have surprising effects for AAs, as an enum AA would be instantiated from scratch everywhere that AA enum was used in the code. Perhaps it is still that way...

Ali

Reply via email to