[Å×½ºÆ®°á°ú] PrintWriter¸¦ »ç¿ëÇÏ´Ï µÇ³×¿ä


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :°­½Åµ¿ 1998³â 5¿ù 11ÀÏ 13:29:17

In Reply to: Èï¹Ì·Ó±º¿ä... posted by ±è´öÅ on 1998³â 5¿ù 11ÀÏ 12:50:37:

¾È³çÇϼ¼¿ä °­½Åµ¿ÀÔ´Ï´Ù.


±è´öÅÂ´Ô ´äº¯ °í¸¿½À´Ï´Ù.
JDKÀÚüÀÇ ¹ö±×Àΰ¡ º¾´Ï´Ù.
AIX jdk1.1.4°¡ ÃÖ½ÅÆÇÀε¥ ±×°É ¼³Ä¡Çß½À´Ï´Ù.
ÇѱÛÀÌ ÀÌ»óÇÏ°Ô Àß µÇÁö ¾Ê¾Æ¼­ ÇѱÛÀ©95¿¡¼­ »ç¿ëÇÏ´Â
JDK 1.1.5ÀÇ classes.zipÀ» Åë°·Î AIX¿ë¿¡ classpath¸¦ Àâ°í
Çغôµ¥ µÇÁö ¾Ê´õ±º¿ä. Thread¿¡¼­ ¹Ù·Î ¸ØÃß´õ±º¿ä.
Thread󸮿¡¼­ ¹º°¡ ÀÌ»óÇÑ°¡ º¾´Ï´Ù.
¼³»ç ÀÚ½ÅÀÌ Thread¸¦ »ç¿ëÇÏÁö ¾Ê´õ¶óµµ ±âº»ÀûÀ¸·Î ¾²ÀÌ´Â
main thread°¡ ¹®Á¦°¡ µÇ³ª º¾´Ï´Ù.
À̰͵µ Á» ÀÌ»óÇÑ ¹®Á¦À̳׿ä.
JVM¸¸ AIX¿ëÀ¸·Î ¸¸µé¸é µÇÁö ¾î° java package¸¦ ¹Ù²Û´Ù°í ¾ÊµÇ³ª
¸ð¸£°Ú³×¿ä.
ÀÌ»óÀÇ Å×½ºÆ®´Â Á¦°¡ À߸øÇÑ Á¡ÀÌ ÀÖÀ» ¼ö ÀÖ´Ù´Â °ÍÀ» ¹àÇôµÓ´Ï´Ù.



public class Test {
public static void main(String[] arg) {
System.out.println("°­½Åµ¿");
}
}
ÀÇ °æ¿ì ??? ·Î ³ª¿É´Ï´Ù.


°ýÈ£Çϳª¸¦ ´ú ´ÝÀº ÄÄÆÄÀÏ¿¡·¯°¡ ³¯°æ¿ì ¿¡·¯°¡ Çѱ۷Πǥ½Ã½ÃÅ°·Á°í ÇÑ
¸ð¾çÀε¥ ±× ÀÚü°¡ ????·Î ³ª¿É´Ï´Ù.


Test.java:3: ')'? ????.
System.out.println(System.getProperty("file.encoding");
^
?? 1


public class Test {
public static void main(String[] arg) {
System.out.println(System.getProperty("file.encoding"));
}
}
À» ½ÇÇà½ÃÅ°¸é
KSC5601
À̶ó°í ³ª¿É´Ï´Ù.


Å͹̳ÎÀÚü¿¡¼­ ÇѱÛÀº Àß ´Ù·ç¾î Áý´Ï´Ù.
/javasdi/JavaWebServer1.1/servlets>°­½Åµ¿
ksh: °­½Åµ¿: not found


import java.io.*;
public class Test {
public static void main(String[] arg) {
PrintWriter w = new PrintWriter(System.out);
w.println("°­½Åµ¿");
}
}
java Test
½ÇÇàÇÏ¸é ¾Æ¹«°Íµµ ³ª¿ÀÁö ¾Ê°í ´ÙÀ½ ÇÁ·ÒÇÁÆ®°¡ ¶å´Ï´Ù.
Çã°Æ --;


import java.io.*;
public class Test {
public static void main(String[] arg) {
PrintWriter w = new PrintWriter(System.out);
w.println("°­½Åµ¿");
w.flush();
}
}
/JavaWebServer1.1/servlets>java Test
°­½Åµ¿


Á¦´ë·Î ³ª¿À´Â ±º¿ä. ^^
°¡Àå ¸¹ÀÌ »ç¿ëÇÏ´Â System.out.println¿¡¼­ ÇѱÛÀÌ Á¦´ë·Î ³ª¿ÀÁö
¾Ê´Â´Ù¸é ÀÌ°ÅÂü.....
±×·¡µµ ÇѱÛÀ» Áö¿øÇϱâ À§ÇØ ³ë·ÂÇß³ªº¸±º¿ä.
PrintWriter¿¡¼­´Â µÇ´Ï...


ÀÚ¹Ù´Â ¿ª½Ã Solaris¿Í Âû¶± ±ÃÇÕÀΰ¡ º¾´Ï´Ù.



´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]