 |
|
|  |
ÀÚ¹Ù½ºÅ©¸³Æ® º¯¼ö »ç¿ë¹ý°ú ¿¹¾à¾î |
|
|
 |
18³â Àü |
ÀÚ¹Ù½ºÅ©¸³Æ® º¯¼ö »ç¿ë¹ý°ú ¿¹¾à¾î |
º¯¼ö(Variable)¶õ µ¥ÀÌÅÍ°ªÀ» ÀúÀåÇÏ´Â ±â¾ï°ø°£À̶ó°í »ý°¢ÇÒ ¼ö ÀÖ½À´Ï´Ù.
º¯¼ö´Â ÀϹÝÀûÀ¸·Î
º¯¼ö¸í = °ª ÀÇ Çü½ÄÀ¸·Î »ç¿ëµÇ¸ç ¿¹¸¦µé¸é
myname="¾¾¿£Á¦ÀÌ" °ú °°Àº ÇüÅ°¡ µÇ°ÚÁÒ.
¾¾¿£Á¦ÀÌÀ̶ó´Â °ª¿¡ µû¿ÈÇ¥°¡ »ç¿ëµÈ °ÍÀº ÀÚ·áÇüÀÌ ¹®ÀÚÇüÀ̱⠶§¹®ÀÔ´Ï´Ù.
º¯¼ö´Â ÀϹÝÀûÀ¸·Î ´ÙÀ½°ú °°Àº ÇüÅ·Π»ç¿ëÀÚ°¡ ÆíÇÑ´ë·Î À̸§À» Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.
¡¡
1. ¿µ¹®ÀÚ(a~z, A~Z), ¼ýÀÚ(0~9) ±×¸®°í ¾ð´õ¹Ù(_)¸¦ Á¶ÇÕÇÏ¿© ¸¸µé ¼ö
ÀÖ½À´Ï´Ù
2. ù±ÛÀÚ´Â ¹Ýµå½Ã ¿µ¹®ÀÚ³ª ¾ð´õ¹Ù(_)¸¦ »ç¿ëÇØ¾ß ÇÕ´Ï´Ù
3. ¿µ¹®ÀÚ´Â ´ë¼Ò¹®ÀÚ¸¦ öÀúÈ÷ ±¸ºÐÇÕ´Ï´Ù
4. º¯¼ö¸í¿¡´Â °ø¹éÀÌ µé¾î°¡¸é ¾ÈµË´Ï´Ù
5. ¹Ì¸® Á¤ÇØÁø ¿¹¾à¾î´Â »ç¿ëÇÏ¸é ¾ÈµË´Ï´Ù. |
ÀÚ¹Ù½ºÅ©¸³Æ®¿¡¼ ¿¹¾àµÈ ´Ü¾î |
abstract |
case |
continue |
extends |
for |
import |
long |
private |
static |
throw |
var |
boolean |
catch |
default |
false |
function |
in |
native |
protected |
super |
throw |
void |
break |
char |
do |
final |
goto |
instanceof |
new |
public |
switch |
transient |
while |
byte |
class |
double |
finally |
if |
int |
null |
return |
synchronized |
true |
with |
case |
const |
else |
float |
implements |
interface |
package |
short |
this |
try |
¡¡ |
|
|
̵̧ : 405 |
̵̧
¸ñ·Ï
|
|
|  |
|