首页 > 技术文章 > 013 抽象类能使用 final 修饰吗?(已更新)

ynzj123 2020-04-03 08:13 原文

抽象类能使用 final 修饰吗?

答:

不能,抽象类是被用于继承的,而用final修饰的类,无法被继承。

推荐阅读