What will the output of the following code be:

int N=5; 
int D=4; 
int A=0; 
calcValue( N ) 
System.out.println(N);

static void calcValue( int N ) { 
    int D; 
   for (D=0; D<5; D++) { 
      N++; 
   } 
}


calcValue 함수 내에있는 D는 지역변수잖아 근데 위에 메인에서도 4로 초기화되있잖아 그럼 얘도 4였다가 루프돌릴때 0으로 다시초기화되는거지?