Activity Forums Salesforce® Discussions Where variable value gets stored for a wrapper class in Salesforce?

  • Anurag

    Member
    August 14, 2018 at 2:21 pm

    Hi Chanchal,

    When you create a wrapper, you also create instance variables for all the variables you define in your class (isDisplayed, isSelected). These are all different objects, even if you have two instances of the same class. They will contain different data between two instances of the same class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos