Other |
---|
5.0 b46Fixed |
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
The JSR-201 Public Review Draft Spec says that it is illegal for a class to extend java.lang.Enum explicitly but compiler permits it. The following program should generate an compile-time error. In fact it crashes the compiler: public class Junk extends Enum { Junk() { super(null, 0); } }
|