Tuesday, January 28, 2014

Explain Considerations for Static keyword in Apex

Explain Considerations for Static keyword in Apex

Apex classes cannot be static.
Static allowed only in outer class.
Static variables not transferred as a part of View State.
Static variables and static block runs in order in which they are written in class.
Static variables are static only in scope of request.


No comments:

Post a Comment