Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JAVAÖг£ÓÃÀàµÄ³£Ó÷½·¨


³£ÓÃÀàµÄ³£Ó÷½·¨
Ò»¡¢java.lang.ObjectÀà
1¡¢clone()·½·¨
´´½¨²¢·µ»Ø´Ë¶ÔÏóµÄÒ»¸ö¸±±¾¡£Òª½øÐГ ¿Ë¡” µÄ¶ÔÏóËùÊôµÄÀà±ØÐëʵÏÖjava.lang. Cloneable½Ó¿Ú¡£
2¡¢equals(Object obj)·½·¨
Ø   ¹¦ÄÜ£º±È½ÏÒýÓÃÀàÐÍÊý¾ÝµÄµÈ¼ÛÐÔ¡£
Ø   µÈ¼Û±ê×¼£ºÒýÓÃÀàÐͱȽÏÒýÓ㬻ù±¾ÀàÐͱȽÏÖµ¡£
Ø   ´æÔÚÌØÀý£º¶ÔFile¡¢String¡¢Date¼°·â×°ÀàµÈÀàÐÍÀ´Ëµ£¬ÊDZȽÏÀàÐͼ°¶ÔÏóµÄÄÚÈݶø²»¿¼ÂÇÒýÓõÄÊÇ·ñΪͬһʵÀý¡£
3¡¢finalize()·½·¨
     µ±À¬»ø»ØÊÕÆ÷È·¶¨²»´æÔڶԸöÔÏóµÄ¸ü¶àÒýÓÃʱ£¬ÓɶÔÏóµÄÀ¬»ø»ØÊÕÆ÷µ÷Óô˷½·¨¡£
4¡¢hashCode()·½·¨ 
·µ»Ø¸Ã¶ÔÏóµÄ¹þÏ£ÂëÖµ¡£
5¡¢notify()·½·¨
»½ÐÑÔڴ˶ÔÏó¼àÊÓÆ÷ÉϵȴýµÄµ¥¸öÏ̡߳£
6¡¢notifyAll()·½·¨
»½ÐÑÔڴ˶ÔÏó¼àÊÓÆ÷ÉϵȴýµÄËùÓÐÏ̡߳£
7¡¢toString()·½·¨
·µ»Ø¸Ã¶ÔÏóµÄ×Ö·û´®±íʾ¡£ÔÚ½øÐÐStringÓëÆäËüÀàÐÍÊý¾ÝµÄÁ¬½Ó²Ù×÷ʱ£¬×Ô¶¯µ÷ÓÃtoString()·½·¨¡£¿ÉÒÔ¸ù¾ÝÐèÒªÖØдtoString()·½·¨¡£
8¡¢wait()·½·¨
ÔÚÆäËûÏ̵߳÷Óô˶ÔÏóµÄ notify() ·½·¨»ò notifyAll() ·½·¨Ç°£¬µ¼Öµ±Ç°Ï̵߳ȴý¡£
¶þ¡¢    ×Ö·û´®Ïà¹ØÀà
l       StringÀà
charAt(int index)  ·µ»ØÖ¸¶¨Ë÷Òý´¦µÄ char Öµ¡£
compareTo(String anotherString) °´×Öµä˳Ðò±È½ÏÁ½¸ö×Ö·û´®¡£
compareToIgnoreCase(String str) °´×Öµä˳Ðò±È½ÏÁ½¸ö×Ö·û´®£¬²»¿¼ÂÇ´óСд¡£
concat(String str) ½«Ö¸¶¨×Ö·û´®Á¬½Óµ½´Ë×Ö·û´®µÄ½áβ¡£
endsWith(String suffix) ²âÊÔ´Ë×Ö·û´®ÊÇ·ñÒÔÖ¸¶¨µÄºó׺½áÊø¡£
equals(Object anObject) ½«´Ë×Ö·û´®ÓëÖ¸¶¨µÄ¶ÔÏó±È½Ï¡£
equalsIgnoreCase(String anotherString) ½«´Ë String ÓëÁíÒ»¸ö String ±È½Ï£¬²»¿¼ÂÇ´óСд¡£
indexOf(int ch) ·µ»ØÖ¸¶¨×Ö·ûÔÚ´Ë×Ö·û´®ÖеÚÒ»´Î³öÏÖ´¦µÄË÷Òý¡£
indexOf(String str) ·µ»ØµÚÒ»´Î³öÏÖµÄÖ¸¶¨×Ó×Ö·û´®ÔÚ´Ë×Ö·û´®ÖеÄË÷Òý¡£
lastIndexOf(int ch) ·µ»ØÖ¸¶¨×Ö·ûÔÚ´Ë×Ö·û´®ÖÐ×îºóÒ»´Î³öÏÖ´¦µÄË÷Òý¡£
length()  ·µ»Ø´Ë×Ö·û´®µÄ³¤¶È¡£
replace(char oldChar, char newChar)  
·µ»ØÒ»¸öеÄ×Ö·û´®£¬ËüÊÇͨ¹ýÓà newChar Ìæ»»´Ë×Ö·û´®ÖгöÏÖµÄËùÓÐ oldChar µÃµ½µÄ¡£
split(String regex)  ¸ù¾Ý¸ø¶¨ÕýÔò±í´ïʽµÄÆ¥Åä²ð·Ö´Ë×Ö·û´®¡£
startsWith(Strin


Ïà¹ØÎĵµ£º

ÈÕÆÚÀà¼Ó¼õ¼°JavaÖÐÈÕÆÚÀà²Ù×÷Ëã·¨´óÈ«

1.¼ÆËãijһÔ·ݵÄ×î´óÌìÊý
1Calendar time=Calendar.getInstance();
2time.clear();
3time.set(Calendar.YEAR,year); //year Ϊ int
4time.set(Calendar.MONTH,i-1);//×¢Òâ,Calendar¶ÔÏóĬÈÏÒ»ÔÂΪ0
5int day=time.getActualMaximum(Calendar.DAY_OF_MONTH);//±¾Ô·ݵÄÌìÊý
×¢£ºÔÚʹÓÃset·½·¨Ö®Ç°£¬±ØÐë ......

»ùÓÚjavaµÄ¿ªÔ´ÓÎÏ·ÒýÇæ

http://looframework.sourceforge.net/
http://robocode.sourceforge.net/
JAVA is DOOMED(JID)ÊÇÒ»¸öÀûÓÃJavaʵÏֵĿªÔ´3DÒýÇæ²¢ÇÒʹÓÃOpenGL×÷ΪͼÐÎAPI.
¿ª·¢ÓïÑÔ£º Java

ÏîÄ¿Ö÷Ò³£º http://javaisdoomed.sourceforge.net/
ÎĵµµØÖ·£º
ÏÂÔصØÖ·£º https://sourceforge.net/projects/javaisdoomed/
JMine ÊÇÒ» ......

PHPºÍJAVA¿ª·¢µÄOAÐÔÄܱȽÏ

ÏÖÔÚ»¹ÓкܶàÈ˸㲻¶®PHPºÍJAVA¿ª·¢µÄЭͬOAµ½µ×ÓÐʲô²»Í¬£¬¶Ô×Ô¼ºµ½µ×ÓÐʲôӰÏ죬ÒÔÖÁÓÚ×ö³öÁË´íÎóµÄÑ¡Ôñ¶øêݺ¦ÎÞÇî¡£±ÊÕ߸ù¾ÝÁ½ÖÖ¼¼ÊõµÄÌصãÖØÐÂÕûÀíÁËÒ»¸ö¶Ô±È£¬¸ø¹ØÐÄЭͬOA¼¼ÊõµÄ¶ÁÕß×ö¸ö²Î¿¼¡£
         »ªÌ춯Á¦Ð­Í¬OAÊDzÉÓÃJAVA¼¼ÊõµÄµäÐÍ´ú±í£¬²¢¾ßÓÐһϵÁÐÓÅ»¯É ......

JavaµÄ°æ±¾

Java ƽ̨ÓÐÈý¸ö°æ±¾£¬ÕâʹÈí¼þ¿ª·¢ÈËÔ±¡¢·þÎñÌṩÉ̺ÍÉ豸Éú²úÉÌ¿ÉÒÔÕë¶ÔÌض¨µÄÊг¡½øÐпª·¢£º
    * Java SE£¨Java Platform£¬Standard Edition£©¡£Java SE ÒÔÇ°³ÆΪ J2SE¡£ËüÔÊÐí¿ª·¢ºÍ²¿ÊðÔÚ×ÀÃæ¡¢·þÎñÆ÷¡¢Ç¶Èëʽ»·¾³ºÍʵʱ»·¾³ÖÐʹÓÃµÄ Java Ó¦ÓóÌÐò¡£Java SE °üº¬ÁËÖ§³Ö Java Web ·þÎñ¿ª·¢µÄÀ࣬²¢Î ......

javaС¼¼ÇÉ£¨Ò»£©

ÔںܶàÊý¾Ý¿âÖУ¬“ÐÔ±ð”ÕâÒ»×Ö¶ÎÊÇÓÃÓÚintÀàÐÍ´æ´¢µÄ£¬ÈçÓÃ0±íʾ“Å®”£¬1±íʾ“ÄД¡£Ê¹ÓÃResultSet¶ÔÏórs½ÓÊÕ²éѯÊý¾Ý£¬ÔÚ»ñÈ¡Êý¾Ýʱʱ£¬rs.getString()·½·¨ºÍrs.getInt()·½·¨»ñÈ¡µÄÈÔÈ»ÊÇ0(Çø±ðÔÚÓÚStringÀàÐÍ»òÊÇintÀàÐÍ)¡£¶øÔÚʵ¼ÊÓ¦ÓÃʱ£¬ÎÒÃǸüÏ£Íû»ñµÃµÄÊý¾ÝÊÇÖ±¹ÛµØÏÔʾ“ÄÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ