adspace


Explain Variable and Method Access Modifiers in salesforce?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What were you doing before sfdc development?

523


What is workflow rule and workflow actions? : salesforce workflows and approval process

578