APEX Introduction It is Object oriented programming language that is used to provide custom code to create business logic and database operation. APEX is also used to create salesforce triggers that will work automatically , before and after database operation(Insert, Update, Delete). Apex provide SOQL and SOSL to manage database operation. 📘 Apex Arrays & Collections – Complete Tutorial 1. Introduction In Apex , data structures are very important because Salesforce apps often deal with records, lists, and sets of data . Apex provides Collections to store and manipulate groups of values or objects. 👉 Collections in Apex: List (like an Array in Java/C#) Set Map ⚡ Note: Unlike Java/C#, there is no fixed-length array in Apex. Instead, List<T> is used as a dynamic array. 2. Arrays in Apex (List<T>) What is an Array? An Array (or List) is an ordered collection of elements, indexed starting at 0 . You can store primitive types (Integer, String, Boolean) ,...
Hi, I'm Shiva Gautam. With over 15 years of diverse experience in various IT domains, I am now an entrepreneur focusing on both training and software development. My expertise spans across multiple technologies, and I've authored numerous articles on subjects including Java, Python, REACT, NODE, ANGULAR, Cloud, software testing, Django framework, C#, Flutter, Salesforce, Ruby on Rails, .NET, and more. For additional information, please visit shivaconceptsolution.com and kangaroosoftware.net.