Sunday, 9 July 2017

List Introduction in Apex Salesforce

List Introduction in Apex Salesforce

  • list is an interface.
  • A list is an ordered collection of elements that are distinguished by their indices.
  • list elements can be of any data type – primitive types, collections, subjects, usual – defined types and built – in apex types.

Index0                             Index1                         Index2                     Index3                   Index4
Green
Blue
Yellow
Red
Block


  • Insertion order is preserved.
  • can grow dynamically at run time.
  • Duplicate values are allowed.
  • Null values are accepted.


No comments:

Post a Comment