Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
What is the difference between public and global class in Apex Salesforce?
asked
Nov 11, 2020
in
Technology
by
JackTerrance
(
1.8m
points)
What is the difference between public and global class in Apex Salesforce?
interview-question-answer
technology-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 11, 2020
by
JackTerrance
(
1.8m
points)
Global class is accessible across the Salesforce instance irrespective of namespaces.
Whereas, public classes are accessible only in the corresponding namespaces.
Please
log in
or
register
to add a comment.
Related questions
0
votes
Q: How can you expose an Apex class as a REST WebService in Salesforce?
asked
Nov 11, 2020
in
Technology
by
JackTerrance
(
1.8m
points)
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between global and static global variables?
asked
Jan 23, 2021
in
Technology
by
JackTerrance
(
1.8m
points)
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between SOQL and SOSL in Salesforce?
asked
Nov 11, 2020
in
Technology
by
JackTerrance
(
1.8m
points)
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between a Role and Profile in Salesforce?
asked
Nov 11, 2020
in
Technology
by
JackTerrance
(
1.8m
points)
interview-question-answer
technology-questions-answers
0
votes
Q: What is an Apex transaction in Salesforce?
asked
Nov 11, 2020
in
Technology
by
JackTerrance
(
1.8m
points)
interview-question-answer
technology-questions-answers
...