title: I have an error with a math operation Java?
body: <p>I created a code that is meant to accept a user-input then add 5 to it, this is the code. When I enter any number, It returns 0. EDIT: I moved the reCalculate down under main, nothing changes</p>
  
  <pre><code>package files;
  import java.util.*;
  public class CalculatorTest {
  static Scanner userFirstNumber = new Scanner(System.in);
  static int numberReCalculated;
  
  public static int reCalculate(int a){
  int numberReCalculated = a + 5;
  return numberReCalculated;
  }
      public static void main(String[] args){
          int bobson;
          System.out.print("Enter a number, I will do the rest : ");
          bobson = userFirstNumber.nextInt();
          reCalculate(bobson);
          System.out.println(numberReCalculated);
  
      }
  
  
  
   }
  </code></pre>