java error 常见_Java常见错误合集
null 转基本类型@Data@NoArgsConstructor@AllArgsConstructorstatic class OneClass {private Double value;}@Testpublic void nullToPrimitive() {OneClass oneClass = new OneClass(1.0);double value = oneClass.getVa...