posted 22 years ago
An abstract class does not have to have any abstract methods, or any methods at all, but must be declared abstract if it has any abstract methods.
A method-local class (which is not an anonymous class) can be abstract. It can also be final or strictfp. No other modifiers are allowed, because such a class cannot be accessed from the outside, so the other modifiers make no sense.
[ April 21, 2003: Message edited by: Roger Chung-Wee ]
SCJP 1.4, SCWCD 1.3, SCBCD 1.3