You need to sign in to do that
Don't have an account?
Shreya Salesforce
What is the meaning of this line and Why we are using this in wrapper class??
for(Integer i=0;i<lstdlt.size();i++){
lstw.add(new wrapper(lsttest[i].name,lsttest[i].city__c,lstdlt[i].country__c,lstdlt[i].phone__c));
}
link is: https://www.salesforcetutorial.com/wrapper-class-wrapper-class-example/
lstw.add(new wrapper(lsttest[i].name,lsttest[i].city__c,lstdlt[i].country__c,lstdlt[i].phone__c));
}
link is: https://www.salesforcetutorial.com/wrapper-class-wrapper-class-example/
Normal List cannot store the values from two objects.