不能被继承的类:
static class {}
sealed class {}
class x{ private x(){} }

不能被实例化的类:
static class {}
abstract class {}
class x{ private x(){} }
interface {}