Hi Every,
In this post, we are going to learn about the most important Data Type and Collection in Salesforce
What is List
The list is nothing but it is a class available in salesforce and has the below methods
- The list is first and Most Important Data Types.
- Why because every SOQL returns the List and we can only do the DML on List Collection Types
- The list is Order set of Collection
- Can Contains Duplicate
Different method in Salesforce
- Add()
- Add(index, element)
- AddAll()
- Clear()
- Clone()
- Contains()
- Equals()
- Get(index)
- isEmpty()
- Remove(index)
- Set(index, value)
- Sort()
- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_list.htm
Below is the Video for the same
Here is the PPT for the same
If you have any doubt or Query reach me out @cloudyamit or you can email me @ sfdcpanther@outlook.com