in Technology by
What is the difference between public and global class in Apex Salesforce?

1 Answer

0 votes
by
Global class is accessible across the Salesforce instance irrespective of namespaces. Whereas, public classes are accessible only in the corresponding namespaces.

Related questions

0 votes
    How can you expose an Apex class as a REST WebService in Salesforce?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    What is an Apex transaction in Salesforce?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    I have recently discovered that salesforce.com is much more than an online CRM after coming across a Morrison's Case ... ' .Net route? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I would really appreciate if someone can guide me to check if a particular field is included in update call inside ... . Many thanks. Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    Is there a way to determine if a trigger is being executed by an API call or through the Salesforce Web Interface ... updating to 26.0) Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    What is the difference between global and static global variables?...
asked Jan 23, 2021 in Technology by JackTerrance
0 votes
    Explain the difference between role and profile in Salesforce?...
asked Nov 12, 2020 in Technology by JackTerrance
0 votes
    What is the difference between SOQL and SOSL in Salesforce?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    What is the difference between a Role and Profile in Salesforce?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    Can anyone tell me what is the difference between custom app and console app in salesforce? Select the correct answer from above options...
asked Jan 9, 2022 in Education by JackTerrance
0 votes
    What are the different methods of batch Apex class?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    I have a web service class that will be in a managed package and distributed to multiple clients. The class ... accomplish this? Thanks Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    Ok, so this may be a bit of a silly question, and there's certainly the obvious answer, but I ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 13, 2022 in Education by JackTerrance
0 votes
    I'm still learning ASP.NET and I often see code like this throughout parts of our framework: Public ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    I'm still learning ASP.NET and I often see code like this throughout parts of our framework: Public ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
...