Apex Class:
A class is gathering of variables and strategies. We can make class in salesforce in various ways. See the beneath post to think about peak class.
Data Types And Variables:
all variables and expressions have one of the underneath information sorts. Those are
Counted rundown or Enum information sort: Enumerated rundown (or Enum) is a theoretical information sort that stores one estimation of a limited arrangement of determined identifiers. To characterize Enum, utilize the enum watchword in the variable affirmation and afterward characterize the rundown of qualities. You can utilize enums to indicate an arrangement of constants
Variables: Coding Basics:
Static watchword is utilized to characterize static variables to store information that is imparted to in the class.
Salesforcetrainingusa offers a best online training for salesforce crm in usa with experts on your flexible timings@ salesforce crm online trainingA class is gathering of variables and strategies. We can make class in salesforce in various ways. See the beneath post to think about peak class.
Data Types And Variables:
all variables and expressions have one of the underneath information sorts. Those are
- Primitive information sorts (Integer, Boolean, String, … and so forth.)
- Enum (a counted list)
- sObjects (sObject, or Account, contact, object__c… .)
- Collection (list, set, map)
- Null (for the invalid consistent. Which can be doled out to any variable.
- An article made from the client – or framework characterized classes.
Counted rundown or Enum information sort: Enumerated rundown (or Enum) is a theoretical information sort that stores one estimation of a limited arrangement of determined identifiers. To characterize Enum, utilize the enum watchword in the variable affirmation and afterward characterize the rundown of qualities. You can utilize enums to indicate an arrangement of constants
Variables: Coding Basics:
Static watchword is utilized to characterize static variables to store information that is imparted to in the class.
- Static variables are not memory constants.
- All cases of the same class share a solitary duplicate of static variable.
- This can be a procedure utilized for setting banners to counteract recursive triggers.