Monthly Archives: September 2014

Usage of this keyword in salesforce

This keyword used to represent the current instance of the class. Example: public class ThisKeyWordExample {     String str  = ‘Test Me’;         public void strMethod(String str)     {         System.debug(‘–Parameter Value–‘+str);         System.debug(‘–Current Instance Value–‘+this.str);     }     } … Continue reading

Posted in Apex | 1 Comment