You need to sign in to do that
Don't have an account?
sweta kumari 55
covert string to integer this list
public class ApexCollection {
public static void apexMethod(string a)
{
String[] arr=new String[]{'A','B','C','D','A'};
integer s1=integer.valueOf(arr);
System.debug( 'intVal value is ' + s1 );
error: Method does not exist or incorrect signature: void apexMethod() from the type ApexCollection.
I am getting error on this code, please response.
public static void apexMethod(string a)
{
String[] arr=new String[]{'A','B','C','D','A'};
integer s1=integer.valueOf(arr);
System.debug( 'intVal value is ' + s1 );
error: Method does not exist or incorrect signature: void apexMethod() from the type ApexCollection.
I am getting error on this code, please response.
Shri Raj