Explain Variable and Method Access Modifiers in salesforce?
Answer / Durgesh Kumar Gupta
Access Modifiers in Salesforce determine the accessibility level of variables and methods. There are four access modifiers: Public (Public), Private (private), Protected, and Static Global (static). Public allows access from anywhere, while Private is only accessible within the class, and Protected can be accessed by subclasses or within the same class. Static Global refers to a variable that is shared among all instances of the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the differences between 15 and 18 digit record ids?
What is an Auto-Response Rule?
Explain the skinny table. What are the considerations for skinny table?
How to identify a class as a test class in salesforce?
Difference between isblank and isnull?
Mention what is the difference between isnull and isblank?
What is conditional highlighting in salesforce reports? State some limitations.
How many types of dashboards are there in salesforce?
What are the global key words? : salesforce visualforce
Write a syntax and structure of scheduler class?
What do you know about apex?
Difference between Trigger.new & Trigger.old?