xhtml
 

Hint

There are several things to do to fix up the program you have been given. First, change the line:

   program.add(args[0], args[1]);

Then change the line:

   void add(String s1, String s2)

Then add a third line which is like these two:

   int n1 = Integer.parseInt(s1);
   int n2 = Integer.parseInt(s2);

Then change the line:

   System.out.println(n1 + n2);

Back