1.为了安全
java 必须借助操作系统本身的力量才能做事,jdk提供的很多核心类比如String,这类内的很多方法
都不是java编程语言本身编写的,很多方法都是调用操作系统本地的api,如果被继承的话,被重写了,
往操作系统内部写入一段具有恶意袭击性质的代码,这不就成核心病毒了
不想被修改,就像工具类一样,其实也是为了安全
2.性能