Topic: literal是什么意思?

  Print this page

1.literal是什么意思? Copy to clipboard
Posted by: lixinlu2000
Posted on: 2006-06-06 10:41

Literals are used to indicate simple values in your Java programs.
这里的literal是什么意思?

2.Re:literal是什么意思? [Re: lixinlu2000] Copy to clipboard
Posted by: why
Posted on: 2006-06-06 11:07

Literal --> numeric (byte, short, int, long, float, double), character (char) or String constants

3.Re:literal是什么意思? [Re: lixinlu2000] Copy to clipboard
Posted by: zhc_cnjava
Posted on: 2006-06-06 14:26

Literals就是"字面值"的意思

仔细琢磨一下,找个例子看一下就完全明白了,如
String s = "literalvalue"
等号后面的就是字面值


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923