java ¶à̬(2)
(±¾ÎÄתÔØ)
ÔÎÄ£ºhttp://blog.csdn.net/thinkghoster/archive/2008/04/19/2307001.aspx
class
A
...
{
public
String show(D obj)
...
{
return
(
"
A and D
"
);
}
public
String show(A obj)
...
{
return
(
"
A and A
"
);
}
}
class
B
extends
A
...
{
public
String show(B obj)
...
{
return
(
"
B and B
"
);
}
public
String show(A obj)
...
{
return
(
"
B and A
"
);
}
}
class
C
extends
B
...
{}
class
D
extends
B
...
{}
A a1
=
new
A();
A a2
=
new
B();
B b =
new
B();
C c
=
new
C();
D d
=
new
D();
&nbs
Ïà¹ØÎĵµ£º
1 ËùÓÐµÄ .java|.jsp|.html|.xml Ô´Îļþ¾ùʹÓÃutf-8±àÂë¸ñʽ±£´æµ½ÏµÍ³´ÅÅÌ¡£
È磺ÔÚEclipseÖбà¼Îļþ£¬Ñ¡ÖÐÎļþ´ò¿ªÓÒ¼ü²Ëµ¥Ñ¡ÔñÊôÐÔ£¬½«Îı¾Îļþ±àÂëÉèÖÃΪÆäËû²¢Ñ¡ÔñUTF-8£»Ò²¿ÉÒÔÔÚ
Eclipse——Ê×Ñ¡Ïî——³£¹æ——ÄÚÈÝÀàÐÍÖÐÉèÖø÷ÖÖÎļþµÄȱʡ±àÂ룬ÕâÑùÒÔºóËùÓеÄÎı¾Îļþ¶¼Ê¹ÓÃÍ³Ò ......
½áºÏ±¾ÈËѧϰ¾ÑéºÍÍøÉÏÅàѵ»ú¹¹µÄ×ÊÁÏ£¬ÁгöjavaѧϰµÄ˳Ðò¡£
Ò»£ºJ2SE
¡ðÃæÏò¶ÔÏó£·â×°¡¢¼Ì³Ð¡¢¶à̬
¡ðÄÚ´æµÄ·ÖÎö
¡ðµÝ¹é
¡ð¼¯ºÏÀà¡¢·ºÐÍ¡¢×Ô¶¯´ò°üÓë½â°ü¡¢Annotation
¡ðIO
¡ð¶àÏ̡߳¢Ïß³Ìͬ²½
¡ðTCP/UDP
¡ðAWT¡¢Ê¼þÄ£ÐÍ¡¢ÄäÃûÀà
¡ðÕýÔò±í´ïʽ
¡ð·´Éä»úÖÆ
2£ºÊý¾Ý¿â£¨Oracle»òÕßMySQL£©
¡ðSQLÓï¾ä
......
ÕâƪÎÄ×ÖдµÄºÜºÃ£¬ÍƼö¸ø×Ô¼ººÍ´ó¼Ò£¡
ÊÂÎñ²ßÂÔ: Á˽âÊÂÎñÏÝÚå
ÔÚ Java ƽ̨ÖÐʵÏÖÊÂÎñʱҪעÒâµÄ³£¼û´íÎó
¼¶±ð£º Öм¶
Mark Richards, Ö÷¹ÜºÍ¸ß¼¶¼¼Êõ¼Ü¹¹Ê¦, Collaborative Consulting, LLC
2009 Äê 3 ÔÂ 06 ÈÕ
ÊÂÎñ´¦ÀíµÄÄ¿±êÓ¦¸ÃÊÇʵÏÖÊý¾ÝµÄ¸ß¶ÈÍêÕûÐÔºÍÒ»ÖÂÐÔ¡£±¾ÎÄÊÇΪ Java ƽ̨¿ª· ......
/**
* ÓйØÈÕÆÚ¹¤¾ßÀà(extends TimeUtil)
*
* TimeUtilÖ÷Òª¹¦ÄÜÓУº
* 1.¸÷ÖÖÈÕÆÚÀàÐÍ£¨×Ö·û£¬util.Date£¬sql.Date£¬CalendarµÈ£©×ª»»
* 2.»ñÈ¡Ö¸¶¨ÈÕÆÚµÄÄê·Ý£¬Ô·ݣ¬ÈÕ·Ý£¬Ð¡Ê±£¬·Ö£¬Ã룬ºÁÃë
* 3.»ñÈ¡µ±Ç°/ϵͳÈÕÆÚ(Ö¸¶¨ÈÕÆÚ¸ñʽ)
* 4.»ñÈ¡×Ö·ûÈÕÆÚÒ»¸öÔµÄÌìÊý
* 5.»ñÈ¡Ö¸¶¨Ô·ݵĵÚÒ»Ìì,×îºóÒ»Ìì
*
* Date ......