You need to sign in to do that
Don't have an account?

invali integer ?
list<contact> conlist=new list<contact>();
for(integer j=0;j<10;j++);
{
contact con=new contact();
con.lastname='contact'+j;
con.title='anu info';
conlist.add(con);
}
insert conlist;
invalid integer j .
can any one plz give me the reply..
thank you.
for(integer j=0;j<10;j++);
{
contact con=new contact();
con.lastname='contact'+j;
con.title='anu info';
conlist.add(con);
}
insert conlist;
invalid integer j .
can any one plz give me the reply..
thank you.

Please remove ; after the for statement.