不能被继承的类:
static class {}
sealed class {}
class x{ private x(){} }
static class {}
sealed class {}
class x{ private x(){} }
不能被实例化的类:
static class {}
abstract class {}
class x{ private x(){} }
interface {}
转载于:https://www.cnblogs.com/sithere/archive/2008/11/05/1327270.html