You need to sign in to do that
Don't have an account?

expecting a right parentheses, found 'Test Pre-Cert'
public class CoverSheet {
Public List<String> AttTo = new List <String>();
AttTo.add('Test Pre-Cert');
AttTo.add('Jim Waller Pre-Cert');
AttTo.add('Eileen Fitzpatrick');
public String[] To = New String[3];
To.add('Pre-Cert Company');
To.add('Regence Behaviorial Health');
To.add('Blue Cross Federal');
}
What in the world am I doing wrong, I have tried everything
Line 5: expecting a right parentheses, found 'Test Pre-Cert'
Public List<String> AttTo = new List <String>();
AttTo.add('Test Pre-Cert');
AttTo.add('Jim Waller Pre-Cert');
AttTo.add('Eileen Fitzpatrick');
public String[] To = New String[3];
To.add('Pre-Cert Company');
To.add('Regence Behaviorial Health');
To.add('Blue Cross Federal');
}
What in the world am I doing wrong, I have tried everything
Line 5: expecting a right parentheses, found 'Test Pre-Cert'
You havn't defined a method.
You can add elements only in the method definition or constructor.
Let us know if it helps.
Mark it as best answer if it work.
Thanks.