ClassCastException, casting Integer to Double

后端 未结 10 1933
我寻月下人不归
我寻月下人不归 2020-12-24 05:33
ArrayList marks = new ArrayList();
Double sum = 0.0;
sum = ((Double)marks.get(i));

Everytime I try to run my program, I get a ClassCastException th

10条回答
提交回复
热议问题