Activity › Forums › Salesforce® Discussions › Whats is global is in salesforce?
-
Whats is global is in salesforce?
Posted by Manish on September 9, 2020 at 3:29 PMWhats is global is in salesforce?
Ayush replied 5 years, 8 months ago 4 Members · 3 Replies -
3 Replies
-
Apex allows you to use the private, protected, public, and global access modifiers when defining methods and variables.
While triggers and anonymous blocks can also use these access modifiers, they are not as useful in smaller portions of Apex. For example, declaring a method as global in an anonymous block does not enable you to call it from outside of that code.
-
This reply was modified 5 years, 8 months ago by
MOHIT.
-
This reply was modified 5 years, 8 months ago by
- [adinserter block='9']
-
Global is basically an access modifiers which is used to define the methods and variables
-
Log In to reply.