However, the drawback to a static class is that all static methods need to be thread safe.

 
  • 但是,静态类的缺点是需要保证所有静态方法都是线程安全的。
今日热词
目录 附录 查词历史