Java中的String类型可以被继承吗?

来源:互联网 发布:ubuntu gcc最新版本 编辑:程序博客网 时间:2024/05/21 19:21
不可以。因为String类被final所修饰,故不能被继承。
原创粉丝点击