HZAU-JAVA技術(shù)群:7435949
學(xué)習(xí)Java從零開始-見證2006-Java之路
My Links
BlogJava
首頁
新隨筆
聯(lián)系
聚合
管理
Blog Stats
Posts - 42
Stories - 0
Comments - 3
Trackbacks - 0
News
努力總是有希望的。
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(1)
給我留言
查看公開留言
查看私人留言
隨筆分類
(42)
Java(13)
(rss)
日志(29)
(rss)
隨筆檔案
(42)
2006年1月 (42)
搜索
積分與排名
積分 - 6938
排名 - 2771
最新評論
1.?re: Test_java
dasfdsafds
--sd
2.?re: import myjava.PlotOtau和import myjava.*的區(qū)別?
評論內(nèi)容較長,點擊標(biāo)題查看
--Allen
3.?re: import myjava.PlotOtau和import myjava.*的區(qū)別?
首先你要確認(rèn)你的路徑是完全正確的
--理想
閱讀排行榜
1.?import myjava.PlotOtau和import myjava.*的區(qū)別?(399)
2.?ArrayPrint(266)
3.?StringDemo(244)
4.?夜(225)
5.?IntegerDemo(219)
6.?女孩子(212)
7.?ClassDemo(212)
8.?StringBufferDemo(208)
9.?ComplexNumber(205)
10.?CharacterDemo(198)
評論排行榜
1.?import myjava.PlotOtau和import myjava.*的區(qū)別?(2)
2.?Test_java(1)
3.?IntegerDemo(0)
4.?ClassDemo(0)
5.?ComplexNumber(0)
CharacterDemo
1
public
class
CharacterDemo
2
{
3
public
CharacterDemo()
4
{
5
}
6
7
public
static
void
main(String[] args)
8
{
9
Character c1
=
new
Character(
'
A
'
);
10
Character c2
=
new
Character(
'
b
'
);
11
System.out.println(c1.charValue()
+
0
);
12
System.out.println(c2.charValue()
+
0
);
13
int
i
=
c1.compareTo(c2);
14
System.out.println(i);
15
if
(i
==
0
)
16
{
17
System.out.println(
"
c1 is equal c2!
"
);
18
}
19
else
if
(i
<
0
)
20
{
21
System.out.println(
"
c1 is smaller than c2!
"
);
22
}
23
System.out.println(Character.toLowerCase(
'
A
'
)
+
""
+
Character.toUpperCase(
'
a
'
));
24
System.out.println(Character.isDigit(
'
9
'
));
25
}
26
}
posted on 2006-01-07 17:59
Allen
閱讀(198)
評論(0)
編輯
收藏
所屬分類:
Java
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發(fā)表評論。
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
相關(guān)文章:
import myjava.PlotOtau和import myjava.*的區(qū)別?
ClassDemo
ComplexNumber
ArrayPrint
StringBufferDemo
StringDemo
CharacterDemo
CalendarDemo
MathDemo
DayShower
Powered by:
BlogJava
Copyright © Allen
主站蜘蛛池模板:
尼勒克县
|
抚松县
|
咸丰县
|
吴旗县
|
庆安县
|
秦安县
|
蒙阴县
|
福贡县
|
屏南县
|
罗山县
|
渝中区
|
盖州市
|
黑山县
|
韶关市
|
上饶市
|
长岛县
|
明溪县
|
包头市
|
黑山县
|
托克逊县
|
黄大仙区
|
天等县
|
临沂市
|
尼玛县
|
惠来县
|
老河口市
|
乌拉特中旗
|
遂川县
|
白银市
|
平阴县
|
砚山县
|
清流县
|
得荣县
|
彰化市
|
平顶山市
|
金沙县
|
台中市
|
花莲市
|
玛纳斯县
|
舞钢市
|
东兰县
|