What is the distinction amongst public and Global class in Apex?

devquora
devquora

Posted On: Feb 22, 2018

 

 The Public access modifier is not quite the same as people in general modifier in Java. The public class can be accessed inside an application or namespace. While the Global class is mainly noticeable wherever: in any of the application or the namespace. The Webservice must be proclaimed as Global so it can be accessed outside of the application. The global variable is like open modifier in Java.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Apex Interview Questions

    Tell me something about Abstract Class?

     The abstract classes in Salesforce Apex are the classes that involve at least one dynamic strategy. A conjectural meth..

    Apex Interview Questions

    Clarify a couple of considerations required for the Static Keyword in Apex.

     Here are a couple of considerations required for the Static keyword in Apex.  You cannot make an Apex class static..

    Apex Interview Questions

    Can you state some o the uses of APEX?

    fabricates proficient looking web applications that are both quick and secure. Keeps running on and lives in the Oracle..