Returning methods
public class App {
public static void main(String[] args)
{
int x = 3;
int answer = addFive(x);
System.out.println("x = " + answer);
}
private static int addFive(int px)
{
x += 5;
return px;
}
}