Skip to main content
3 个回答
  1. 2019年8月10日 06:26
    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.
0/9000