What is the difference between public and global class in apex? : salesforce crm



What is the difference between public and global class in apex? : salesforce crm..

Answer / Sanjay Kumar Chaudhary

A Global Class in Apex can be accessed from any other class, but it cannot have instance variables. On the other hand, a Public Class can be instantiated with instance variables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

what are future methods and where are they used ?

1 Answers  


Can you edit an apex trigger/ apex class in production environment?

1 Answers  


Explain the force.com platform?

1 Answers  


How to read text between tags ? : salesforce integration

1 Answers  


What is a Contact?

1 Answers  


What are the different methods of batch apex class? : salesforce crm

1 Answers  


Explain apex code execution governors and limits?

1 Answers  


What all data types can a set store?

1 Answers  


How can we extend any component? : salesforce lightning component

1 Answers  


Explain what is object relationship overview?

1 Answers  


State the cause of error for insufficient privilege access in a partner community with external users. The user has proper owd and profile settings for any object.

1 Answers  


How many ways are there to call an apex class?

1 Answers  


Categories