public class Add {
  
  // O metodo abaixo resolve a questao Add (https://codefights.com/arcade/intro/level-1/jwr339Kq6e3LQTsfa) em Java  
  public static int add(int param1, int param2) {
    return param1 + param2;
  }
  
  public static void main(String[] args) {
    sum = add(5, 3);
    System.out.println(sum);
  }
}

/**
 * @author DACC
 * @version 1.0
 */

public class Add {
  
  // O metodo abaixo resolve a questao Add (https://codefights.com/arcade/intro/level-1/jwr339Kq6e3LQTsfa) em Java  
  public static int add(int param1, int param2) {
    return param1 + param2;
  }
  
  public static void main(String[] args) {
    sum = add(5, 3);
    System.out.println(sum);
  }
}

Update Add.java