You need to sign in to do that
Don't have an account?
Error: Compile Error: expecting a right parentheses, found 'abc' at line 3 column 13)
Hello Everyone,
public class abc{
system.debug('abc');
/[Error] Error: Compile Error: expecting a right parentheses, found 'abc' at line 3 column 13
I am not sure why i am getting this error .
can you please help me out.
}
public class abc{
system.debug('abc');
/[Error] Error: Compile Error: expecting a right parentheses, found 'abc' at line 3 column 13
I am not sure why i am getting this error .
can you please help me out.
}
public class abc{
public void someMethod(){
system.debug('abc');
}
}
System.debug() cannot be executed direcly inside the class. It should be inside the method of a class.
delcare a method for that class and impelement your system.debug .
Hope it surely helps you
Thanks
Monika
System.debug() cannot be executed direcly inside the class. It should be inside the method of a class or constructor
public class abc{
publicabc(){
system.debug('abc');
}
}
I hope this will help you