c++ 中的相同代码是什么样的,或者最接近它的代码是什么样的?
public class Skill{
public Skill(String name){
}
public static Map<String, Skill> getSkills(){
Map<String, Skill> skills = new Map<String, Skill>();
skills.add("Endurance", new Skill());
return skills;
}
}