final abstract class

"Zdeněk Troníček" tronicek at fit.cvut.cz
Sat Aug 11 22:08:52 PDT 2012


Hi,

we cannot subclass a final class and cannot instantiate an abstract class.
Why a combination of final and abstract is not allowed? Declaring a class
final and abstract would express in elegant way what is now done by final
and private constructor.
(Certainly not a big thing but the required changes in javac does not seem
to be large either.)

Z.
-- 
Zdenek Tronicek
FIT CTU in Prague












More information about the compiler-dev mailing list