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

empty collection
Hi All,
Can we return empty collection in Apex as we do in Java using Collection.emptylist().
Regards
Can we return empty collection in Apex as we do in Java using Collection.emptylist().
Regards
We have to Use List, set , Map
And we can return w List<object>(), w Set<object>(), m Map<Object,Object>();
hope this resolve your query.