You need to sign in to do that
Don't have an account?
Nagarjun T
account acc;
acc = new account;
acc.name='suresh';
acc.industry='telecom'
acc.rating='9';
acc.phone='9246100100';
insert acc;
system.debug('account id....'+acc.id);
unexpected token while entering the code in apex development
account acc;
acc = new account;
acc.name='suresh';
acc.industry='telecom'
acc.rating='9';
acc.phone='9246100100';
insert acc;
system.debug('account id....'+acc.id);
use this
account acc;
acc = new account();
acc.name='suresh';
acc.industry='telecom'
acc.rating='9';
acc.phone='9246100100';
insert acc;
system.debug('account id....'+acc.id);
please mark this as solved if this helps you