Java中的使用了未经检查或不安全的操作(类前加:@SuppressWarnings("unchecked"))

Java中的使用了未经检查或不安全的操作

如此解决就可以了

 类前面加@SuppressWarnings("unchecked")

@SuppressWarnings("unchecked")

public class MyMath{

}

原文地址:https://www.cnblogs.com/lrzy/p/8249685.html