Activity Forums Salesforce® Discussions What is a Wrapper Class in Salesforce?

  • MOHIT

    Member
    January 21, 2020 at 5:54 pm

    Wrapper Class in Apex Salesforce : It is a class, a data structure, or an abstract data type which contains different objects or collection of objects as its members. It is also known as container class

    A wrapper class is a custom object defined by programmer in which he defines the wrapper class properties.  Wrapper class is a custom class which has different data types or properties as per requirement. We can wrap different objects types or any other types in a wrapper class.

  • Manish

    Member
    January 22, 2020 at 7:35 am

    Wrapper Class:

    Wrapper class or container class is a class that wraps or binds the different objects or collections of object fields on a   single object.

  • Pooja

    Member
    January 22, 2020 at 1:09 pm

    In simple language we can defined the Wrapper class as a collection of different types of objects in Salesforce.

  • Shweta

    Member
    January 27, 2020 at 12:58 pm

    Wrapper Class : It is a collection of different Salesforce data types and used to wrap data collected from the present objects to a new object. It displays checkbox and string data types in a single table.

Log In to reply.

Popular Salesforce Blogs