⚡
ForceHires
beta
Jobs
Practice
Drill
My Profile
Recruiters
Sign in
← All questions
Apex
Medium
public vs. global access modifiers
What does declaring an Apex class global (rather than public) actually change?
A
Nothing — they are interchangeable
B
global classes are visible to code outside your namespace, e.g. to code in other managed packages
C
global classes run with elevated system permissions
D
global classes can be called from JavaScript without authentication
Submit answer