You need to sign in to do that
Don't have an account?
Ravi Panchal 8
Method does not exist or incorrect signature: void printOutput(String) from the type Demo1
please help slove this i can't execute my appex class code
Whenever i try to execute my program i get this error .
public class Demo1 {
public void printOutput(String stringToDisplay){
System.debug('Display text: ' + stringToDisplay);
}
}
Demo1 d1 = new Demo1();
d1.printOutput('Hello World');
this what i am trying execute.
Whenever i try to execute my program i get this error .
public class Demo1 {
public void printOutput(String stringToDisplay){
System.debug('Display text: ' + stringToDisplay);
}
}
Demo1 d1 = new Demo1();
d1.printOutput('Hello World');
this what i am trying execute.
I have checked in my org , Your code is perfect , please check again
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
All Answers
I have checked in my org , Your code is perfect , please check again
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
Hey Ravi,
I tried your code in my org and I did not get any error.
Can you please try again?
Thanks,
Priya Ranjan