[RE]


[ Follow Ups ] [ Post Followup ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

Posted by ±è±âÁ¾ on December 03, 1997 at 10:35:23:

In Reply to: [Áú¹®]ÀÚ¹Ù ÄÄÆÄÀÏ·¯ ¿¡·¯... posted by ¿ÀÂùÁÖ on December 02, 1997 at 13:31:40:

Áú¹® ³»¿ë¸¸ °¡Áö°í´Â Á¤È®È÷ ÀÌÇØ ÇÒ ¼ö ¾øÁö¸¸
¾Æ¸¶µµ ´ÙÀ½°ú °°Àº ¿øÀÎ ¶§¹®À̶ó°í »ý°¢µË´Ï´Ù.


È£ÃâÇÑ method°¡ static method°¡ ¾Æ´Ñµ¥
ÇØ´ç method¸¦ instanceÇÏÁö ¾Ê°í ¹Ù·Î »ç¿ëÇÑ °æ¿ìÀÔ´Ï´Ù.
¿¹¸¦ µé¸é Rectangle¶ó´Â class ¿¡ getLocation()¶ó´Â
method´Â static (Áï class method ¶ó°í »ý°¢ÇÏ½Ã¸é µÊ)À¸·Î
¼±¾ðµÇÁö ¾Ê¾Ò´Âµ¥ Rectangle.getLocation()Çϸé
ÄÄÆÄÀϽà error°¡ ¹ß»ýÇÕ´Ï´Ù. static method°¡ ¾Æ´Ñ
instance method¸¦ »ç¿ëÇϽ÷Á¸é ¹Ýµå½Ã ÇØ´ç classÀÇ
°´Ã¼¸¦ instanceÇϽÅÈÄ »ç¿ëÇØ¾ß ÇÕ´Ï´Ù.
Rectangle rect = new Rectangle(2,2,50,50);
Point p = rect.getLocation();


Follow Ups:



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

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


[ Follow Ups ] [ Post Followup ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]