3 个回答
Hi Manas,
Greetings to you!- I read your requirements and implemented in my Org.Problem was that you did not create any method in the class. Please use the below code [Solved] : -
Class : -
public class IntegerAddition {
public static void AdditionMethod(){
Integer a=3;
Integer b=4;
Integer c=a+b;
System.debug('c :'+c);
}
}
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha.