InterviewSolution
Saved Bookmarks
| 1. |
What is a wrapper class in Salesforce? |
|
Answer» A wrapper class is a type of container class, which contains a GROUP of objects as its MEMBERS. It is of an abstract data type. We use a wrapper class for ENCLOSING the collected data. A wrapper class is defined by a programmer, that acts as custom objects, along with wrapper class properties. The instances of a wrapper class are helpful in displaying various objects in the corresponding table on a Visualforce page. Some of the main advantages of using wrapper class by developers in Salesforce are given below:
|
|