首页 新闻 会员 周边
1
回答数

回答被采纳 20 报错:Cannot switch on a value of type String. Only convertible int values or enum constants are permitted求解???

public int calRent(int days,String type){ switch (type) { case "1": num=600*days; break; default: br