Array required, but java.lang.String found..what does this mean???
807605Oct 15 2007 — edited Oct 16 2007Hi friends,
For the following piece of code :
bold
for(int i=1; i <= studentClasses.length(); i++) {
if (UICClassID.equals(studentClasses)){
canTakeThisCourse = false;
return canTakeThisCourse;
break;
}
bold
where, studentClasses is an array and UICClassID is a string variable.
Can anyone explan me why I get this error , "Array required, but java.lang.String found" ??