Java can't find symbol, Java can't find my symbol in an array?

前端 未结 2 422
闹比i
闹比i 2021-01-29 16:32

This is the error i get when i write this line of code.

symbol  : variable isSeletecd
location: class java.lang.String
if (dorm[0].isSeletecd && meal[0].         


        
2条回答
  •  执念已碎
    2021-01-29 17:15

    dorm and meal are String arrays, there is no isSeletecd field or isSelected() method on a java.lang.String.

提交回复
热议问题