๊ฐ™์€ ํด๋ž˜์Šค์˜ ์ธ์Šคํ„ด์Šค๋ผ๋ฆฌ๋Š” private ๋ฉค๋ฒ„์— ์ ‘๊ทผํ• ์ˆ˜ ์žˆ๋„ค?


class A {


private int num;


public void Test(A other){


other.num = 5;

}


}



A a1;

A a2;


a1.Test(a2);


์ด๊ฒŒ ๊ฐ€๋Šฅํ•จ. ใ…กใ…ก ์ด๊ฑฐ ์–ด์ด์—†๋Š”๋ฐ ๋‚˜๋งŒ ๋ชฐ๋ž์Œ?