摘要:
Java 线程池: ThreadPoolExecutor,创建此线程池的方法: newExecutors.newCachedThreadPool():尽量避免使用,其无法控制线程数量,ScheduledThreadPoolExecutor:定时执行;1. Thread... 阅读全文
摘要:
1. PropertiesProperties 是 Java 的内置实现:public class Properties extends Hashtable {}其基本成员函数:public synchronized Object setProperty(String... 阅读全文
摘要:
0. 静态成员变量System.out:是 PrinterStream 型变量:public final class System { ... public final static InputStream in = null; ...}1. 静态成... 阅读全文