Java Add
public class Solution {
public static int add(int param1, int param2) {
return param1 + param2;
}
}
This just adds the two input numbers with the language’s normal arithmetic and returns the sum.
public class Solution {
public static int add(int param1, int param2) {
return param1 + param2;
}
}
This just adds the two input numbers with the language’s normal arithmetic and returns the sum.