This is in java but in the program eclipse:
public class Util {
public static int add(int firstNumber, int secondNumber) {
int first= 2;
int second=3;
int second - Util.add(int, int)
}
}
How do I make a util class with a method name that is add, and returns the result by adding two numbers.
1 answer