You need to sign in to do that
Don't have an account?
bonny mankotia
List Statement
I just want to know what is the difference between these two statements.
1) list acc = new list([select id,name,Site from account limit 5]);
2)list acc4 = [select id,name,Site from account limit 10];
Both gave the same output.
1) list acc = new list([select id,name,Site from account limit 5]);
2)list acc4 = [select id,name,Site from account limit 10];
Both gave the same output.
It is same like