¡¶JavaÃæÏò¶ÔÏó±à³Ì¡·Ñ§Ï°±Ê¼Ç18
1.FileÀàΪ¹ÜÀíÎļþºÍĿ¼ÌṩÁË·½·¨£¬Æä¶ÔÏó±íʾһ¸öÎļþ»òÕßĿ¼¡£ËüÌṩÁËÈô¸É·½·¨¶ÔÎļþ»òÎļþ¼Ð½øÐвÙ×÷¡£ÆäÖеÄlist()·½·¨ºÍlistFiles()·½·¨¿ÉÒÔÆ𵽶¨Î»Ìض¨ÎļþµÄ×÷Óá£
2.ObjectÀ࣬ÊÇËùÓÐJavaÀàµÄ×æÏÈ£¬ÈôÒ»¸öÀàÉùÃ÷ʱûÓаüº¬extends¹Ø¼ü×Ö£¬ÔòÆäÖ±½Ó¼Ì³ÐÓÚObjetcÀà¡£ÆäÖÐÓÐÐí¶àÖØÒª·½·¨£º
equals(),notify(),notifyAll(),wait(),hashCode(),toString().finalize()
3.StringÀ࣬²»¿É±äÀ࣬һЩ¿´ÆðÀ´Äܹ»¸Ä±äStringµÄ·½·¨Æäʵ¶¼ÊÇ´´½¨ÁËÒ»¸ö´øÓз½·¨Ëù¸³ÓèÌØÐÔµÄÐÂString¡£StringBufferÀàΪ×Ö·û´®»º³åÀ࣬¿É±ä¡£
StringÀา¸ÇÁËObjectÀàµÄequals()·½·¨£¬¶øStringBufferûÓС£StringÀàµÄtoString()·½·¨ÊÇ·µ»Øµ±Ç°StringʵÀý±¾ÉíµÄÒýÓ㬶øStringBufferÀàµÄtoString()·½·¨·µ»ØµÄÔòÊǵ±Ç°»º³åÇøÖÐËùÓÐ×Ö·ûÄÚÈݵÄеÄString¶ÔÏóµÄÒýÓá£Ê¹ÓÃStringBuffer¿ÉÒÔ¼õÉÙJVM´´½¨String¶ÔÏóµÄ´ÎÊý£¬¼õÉÙ¶¯Ì¬·ÖÅäºÍ»ØÊÕÄÚ´æµÄ´ÎÊý£¬Ìá¸ß³ÌÐòµÄÐÔÄÜ¡£
4.StringÀàÖÐÓÐÈý¸ö¹ØÓÚÕýÔò±í´ïʽµÄ·½·¨£¬split()£¬replaceAll(),replaceFirst()¡£
5.°ü×°Àࣺ
1£©×÷ÓãºÌṩÁËһϵÁÐʵÓ÷½·¨¡£ÔÚ¼¯ºÏÖдæ·Å»ù±¾Êý¾ÝÀàÐÍʱֻÄÜʹÓðü×°Àà¡£
2£©¹¹Ôì·½·¨£º
ʹÓÃÆä»ù±¾Êý¾ÝÀàÐÍΪ²ÎÊý¹¹Ôì¡£
³ýCharacterÀàÒÔÍ⣬ÆäËûµÄ°ü×°À඼¿ÉÒÔÓÃÒ»¸ö×Ö·û´®À´¹¹Ôì¡£
¹¹ÔìBooleanÀàÐÍʱ£¬³ý·ÇÊÇtrue£¬·ñÔòµÃµ½µÄbooleanÀàÐÍÒ»¸ÅΪfalse¡£
3£©³£Ó÷½·¨£º
¶¼¸²¸ÇÁËtoString()·½·¨£¬ÒÔ×Ö·û´®ÐÎʽ·µ»Ø°ü×°¶ÔÏóËù±íʾµÄ»ù±¾ÀàÐÍÊý¾Ý¡£
NumberÀ඼ÓÐvalueOf(String s)µÄ¾²Ì¬¹¤³§·½·¨¡£¿ÉÒÔ½«×Ö·û´®½âÎöΪ°ü×°Àà¡£
NumberÀ඼ÓÐparseXXX(String s)µÄ¾²Ì¬¹¤³§·½·¨£¬¿ÉÒÔ½«×Ö·û´®½âÎöΪ»ù±¾Êý¾ÝÀàÐÍ¡£
4£©°ü×°À඼ÊÇfinalÀàÐÍ£¬ÎÞ×ÓÀ࣬²¢ÇÒÊDz»¿É±äÀà¡£
6.MathÀࣺÊýѧÔËËãÀà
7.RandomÀࣺÉú³ÉËæ»úÊý
8.DataÀࣺÒÔºÁÃëÊý±íʾÌض¨µÄÈÕÆÚ¡£sysout(new Date()) ·µ»ØϵͳÈÕÆÚ
9.DataFormatÀࣺÓÃÓÚ¶¨ÖÆÈÕÆڵĸñʽ¡£
10.CalendarÀࣺÉèÖúͶÁÈ¡ÈÕÆÚµÄÆäÖÐÒ»²¿·Ö¡£
11.BigDecimalÀࣺ¾«×¼¼ÆËã¡£
The End of ¡¶JavaÃæÏò¶ÔÏó±à³Ì¡·Ñ§Ï°±Ê¼Ç
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
Èí»Ø³µ£¨Soft Return£©£ºÈí»Ø³µÊÇÔÚ×Ö´¦Àí³ÌÐòÖÐ×÷Ϊ×Ô¶¯ÒÆÐй¦ÄܵÄÒ»²¿·Ö×Ô¶¯²åÈëµÄ£¬Ò²½Ð»»Ðзû£¬ÔÚwordÖп´²»¼û¡£Èç¹ûÎı¾
Ò»Ðеij¤¶È³¬¹ýÎĵµËù¶¨ÒåµÄÓұ߾àʱ£¬¼´µ±Ç°ÐÐûÓÐ×ã¹»µÄ¿Õ¼ä·ÅÖÃÏÂÒ»¸ö×Ö·ûʱ£¬ÎÄ×Ö´¦ÀíÈí¼þ½«ÔÚÕâÒ»ÐÐÎı¾µÄĩβ×Ô¶¯²åÈëÒ»
¸öÈí»Ø³µ·û£¬Îı¾ÁíÆðÒ»ÐС£Õâ¸öÈí»Ø³µ·ûÊÇÓɱ༳ÌÐò×Ô¶¯² ......
function createTreeMenu(){//´´½¨Ò»¸öÊ÷µÄÃæ°å
var treeMenu = new Ext.tree.TreePanel({
lines : true,
minSize : 150,
border : false,
root : new Ext.tree.AsyncTreeNode({text : 'root'}),
loader : new Ext.tree.TreeLoader({dataUr ......
來Ô´£ºhttp://www.blogjava.net/oxidy/articles/213105.html
1.°üÃüÃû:È«²¿×ÖĸСд:cn.package.bean
2.ÀàÃüÃû:µ¥´ÊµÄÊ××Öĸ´óд:SimpleBean
3.ÊôÐÔÃû³Æ:µÚÒ»¸öµ¥´ÊµÄÊ××ÖĸСд,Ö®ºóÿ¸öµ¥´ÊµÄÊ××Öĸ´óдstudentName
4.·½·¨ÃüÃû:ÓëÊôÐÔÃüÃûÏàͬ:public
void sayHello()
5.³£Á¿ÃüÃû:È«²¿µ¥´Ê´óд:final S ......