Skip to content

Instantly share code, notes, and snippets.

@TheShubhamVsnv
Last active January 17, 2024 14:54
Show Gist options
  • Save TheShubhamVsnv/166112ac9def0221050838e951b789c2 to your computer and use it in GitHub Desktop.
Save TheShubhamVsnv/166112ac9def0221050838e951b789c2 to your computer and use it in GitHub Desktop.
/*
Global access modifier makes a class or method available across
different namespaces, providing the highest level of visibility.
It is often used in the development of managed packages.
*/
global class MyGlobalClass {
global Integer myGlobalVariable;
global void myGlobalMethod() {
// Global reach!
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment