static variable


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

±Û¾´ÀÌ :Sung Yi 2000³â 2¿ù 23ÀÏ 01:41:12

In Reply to: ¾à°£.. ¼³¸íÀÌ ÀÌ»óÇѵ¥¿ä.. posted by sangwoogi on 2000³â 2¿ù 22ÀÏ 17:49:44:

OPPS! I guess that you are right on the default scope (It is similar to C++'s friendly modifier in some way).


Because the Java static variables are class variables. That is, for other variables, you have to instantiate an object to use them. But for static member variables and methods, they are ALWAYS available for other classe instances to use.


Sorry about the confusion.


Sung Yi


www.networksplus.net/javax


´ÙÀ½ ±Ûµé:



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

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
HTML ÅÂ±× Æ÷ÇÔ ¿©ºÎ: HTML ¹®¼­ÀÏ °æ¿ì üũ
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


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