±Û¾´ÀÌ :Á¶Àϼ® 1999³â 9¿ù 08ÀÏ 15:19:47
In Reply to: ±×´ë·Î´Â ¾È µÉ °Í °°³×¿ä... posted by ±èÇÊÈ£ on 1999³â 9¿ù 08ÀÏ 14:03:51:
¾Æ·¡ ÄÚµå´Â Á¦°¡ ¿øÇϴ´ë·Î µÇ°í Àְŵç¿ä?
ÀÌÀ¯´Â ÀÚ¼¼È÷ ¸ð¸£Áö¸¸, ¹è¿·Î ÇÏ´Ï µÇ³×¿ä..
RMI¿¡¼µµ °¡´ÉÇÒ±î¿ä?
public class Test {
public String[] s1 = {"Hello", "World"};
public int[] x1 = {1004, 200, 300};
public Test () {
getStringValue (s1);
for (int i=0; i<s1.length; i++) {
System.out.println (s1[i]);
}
getIntValue (x1);
for (int i=0; i<x1.length; i++) {
System.out.println (x1[i]);
}
}
public void getStringValue (String[] s) {
for (int i=0; i<s.length; i++) {
s[i] = "º¯°æÇÏ°í ½ÃÆ÷";
}
}
public void getIntValue (int[] n) {
for (int i=0; i<n.length; i++) {
n[i] = i;
}
}
public static void main(String[] args) {
Test test = new Test ();
}
}