You need to sign in to do that
Don't have an account?
Chitral Chadda
What is the difference between static , public and private members of a class,?
What is the difference between static , public and private members of a class,? when we invoke class from trigger? Can anyone pls explain this with the help of an example.
when we invoke class with (static , public, private member) from trigger
when we invoke class with (static , public, private member) from trigger
You can find the access modifiers and their details :
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_access_modifiers.htm
Trigger runs in System mode, but still it will respect your class modifiers as they are mentioned. You can refer to above link for example too.
Thanks,
Pratik