What's wrong in my code? (Array and Scanner)(Java) :     import java.util.*;
    public class RandomAddArray {
    public static void main (String[] args){
    AddArray ad = new AddArray();
    int [] Ar = new int [4];
    ad.AddArray(Ar);
    
    }
    }
    class AddArray{
    public void AddArray(int a[] ){


    for(int i=0; i<a.length; i++){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();    
   
    a[i]=n+2;
    
   
    System.out.print(a[i]);
    }
    }    

    }

Hey everybody, I'm not a native english speaker so my english can be little bit strange to you.

I have a problem in my java.
I want If I type 4 numbers using scanner, the array should read all the numbers firstly and than add two to each numbers.
I mean if I type number "1" 4 times, System.out.print should show me "3" four times. 
But my java shows so :
[enter image description here][1]


  [1]: https://i.stack.imgur.com/pu0Ux.png
Why?? What's wrong in my code? 