static 被static修饰的方法或代码块只加载一次,之后便会一直存在于内存中 静态导入包: import static java.lang.Math.random 接下来就可以直接使用random函数,不用写Math.前缀
final 被final修饰的类不能被继承