AirConditioner

Results 1 issues of AirConditioner

1. JDK9文档中,`Class.newInstance()`方法被标识为Deprecated,同时也提到The call `clazz.newInstance()` can be replaced by `clazz.getDeclaredConstructor().newInstance()`。 2. The Java™ Tutorials中提到Constructor.newInstance()是首选,原因为: - `Class.newInstance()` can only invoke the zero-argument constructor, while `Constructor.newInstance()` may invoke any constructor, regardless of the...

enhancement