you can't declare getMark() as abstract, which belongs to enum Grade because::
enums are final so you can't extend them..hence marking getMark() as abstact means you have to create a sub-class of enum Grade which you obviously cannot..
remember enums are implicitly final and static (though static here has nothing to do with methods cannot be abstract, but because enums are static, to import them you can use import static.... just for knowledge)
[ August 08, 2007: Message edited by: Priyam Srivastava ]
"History would be kind to me, for I intend to write it."