Map<String, Object> map = new HashMap<>();
后面HashMap有红线显示:Incorrect number of arguments for type HashMap<K,V>; it cannot be parameterized with arguments <?>
翻译过来:类型HashMap的参数数目不正确;它不能用参数
我的jdk版本是1.8
Map<String, Object> map = new HashMap<>();
后面HashMap有红线显示:Incorrect number of arguments for type HashMap<K,V>; it cannot be parameterized with arguments <?>
翻译过来:类型HashMap的参数数目不正确;它不能用参数
我的jdk版本是1.8
Map<String, Object> map = new HashMap<String, Object>();