Originally posted by Firas Zureikat
I know seasons is a tope level class but still it's static. I mean Enum are by definition static including the constants they contain are also statics...So every thing about them is static. So somehow static imports could be possible for 1st example to import seasons, right?
Here Seasons is not static.
Only enum defined as a member in a Top level class will be static.
If you define enum as a top level class, then it will not be static.
REMEMBER Top level classes can't be static.
[ June 13, 2006: Message edited by: Naseem Khan ]