You need to sign in to do that
Don't have an account?
subramanyam R
any one clarify this this error...Error: Compile Error: Illegal assignment from List<Account> to List<account> at line 4 column 8
global class scheduleApex implements Schedulable {
global void execute(SchedulableContext SC) {
list<Account> acclist=[select id,description
from account limit 20];
for(Account a: acclist){
a.description='schedule apex';
}
update acclist;
}
}
global void execute(SchedulableContext SC) {
list<Account> acclist=[select id,description
from account limit 20];
for(Account a: acclist){
a.description='schedule apex';
}
update acclist;
}
}
There is no chance to get thios error from the code you have posted here .
I copied your code and it got saved successfully. Don't see any issues with the code.
Thanks
Kumar