请教老师和高手mapvar[one]=10000;报错map类型访问与定义的key类型不匹配,Map<string,integer> mapvar;想用有意义的词(字符串)定义后面的价格
string,integer?
那不是应该写成mapvar[\"one\"]=10000;?