在Java中,构造函数的访问级别通常是public, 它提供了一个构造该类对象的接口。可是你知不知道,把构造函数的级别设为private, 有一些特别用处。先来看一段代码://Shape.javapublic class Shape {private Shape() {/* set something here */}p…
使用easyexcel导入文件,结果提示报错:
java.io.IOException: Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data. This may indicate that the file is used to inflate memory usage and thus …