You need to sign in to do that
Don't have an account?
SS Karthick
Expecting equal sign found
Hi folks,
how to fix the following error:
Expecting equal sign found
List<Topic> to=[select id,name from topic ];
for(Integer i;i<to.size();i++)
System.debug('topic:'+to[i]);
Thanks in advance
Karthick
how to fix the following error:
Expecting equal sign found
List<Topic> to=[select id,name from topic ];
for(Integer i;i<to.size();i++)
System.debug('topic:'+to[i]);
Thanks in advance
Karthick
Refer below code:
All Answers
Refer below code:
You need to initialise the i variable in for statement as shown in above code snippet.