You need to sign in to do that
Don't have an account?
divakar ddd
automatically 1)Identify how many parameters are ther in the method? 2)Identify what are different datatypes of those inputparametes?
public Map<ID,List<string>> Inputmethod(string input1,Map<ID,List<string>>,input2,Map<ID,Map<ID,set<integer>>>)
{
List<string>AccList =input2.values();
List<Account>AccList=New List<Account>();
for(string AccName=AccList){
Account a=New Account();
a.Name=AccName;
AccountList.add(a);
}
insert AccList;
return Map<ID,list<string>>;
}
{
List<string>AccList =input2.values();
List<Account>AccList=New List<Account>();
for(string AccName=AccList){
Account a=New Account();
a.Name=AccName;
AccountList.add(a);
}
insert AccList;
return Map<ID,list<string>>;
}
To answer your questions, Please find my comments here