Can you have a final abstract class?

1 answer

Answer

1082259

2026-04-28 09:45

+ Follow

No. The abstract keyWord means that you cannot instantiate the class unless you extend it with a subclass. The final keyWord means that you cannot create subclasses of that class.

Combining them would lead to an unusable class, so the compiler will not let this happen.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.