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

JavaÖÐ ObjectµÄ·½·¨


¹¹Ôì·½·¨ÕªÒª
Object()
           
·½·¨ÕªÒª
protected Object clone()
           ´´½¨²¢·µ»Ø´Ë¶ÔÏóµÄÒ»¸ö¸±±¾¡£
boolean equals(Object obj)
           ָʾij¸öÆäËû¶ÔÏóÊÇ·ñÓë´Ë¶ÔÏó“ÏàµÈ”¡£
protected void finalize()
           µ±À¬»ø»ØÊÕÆ÷È·¶¨²»´æÔڶԸöÔÏóµÄ¸ü¶àÒýÓÃʱ£¬ÓɶÔÏóµÄÀ¬»ø»ØÊÕÆ÷µ÷Óô˷½·¨¡£
Class<? extends Object> getClass()
           ·µ»ØÒ»¸ö¶ÔÏóµÄÔËÐÐʱÀà¡£
int hashCode()
           ·µ»Ø¸Ã¶ÔÏóµÄ¹þÏ£ÂëÖµ¡£
void notify()
           »½ÐÑÔڴ˶ÔÏó¼àÊÓÆ÷ÉϵȴýµÄµ¥¸öÏ̡߳£
void notifyAll()
           »½ÐÑÔڴ˶ÔÏó¼àÊÓÆ÷ÉϵȴýµÄËùÓÐÏ̡߳£
String toString()
           ·µ»Ø¸Ã¶ÔÏóµÄ×Ö·û´®±íʾ¡£
void wait()
           µ¼Öµ±Ç°µÄÏ̵߳ȴý£¬Ö±µ½ÆäËûÏ̵߳÷Óô˶ÔÏóµÄ notify() ·½·¨»ò notifyAll() ·½·¨¡£
void wait(long timeout)
           µ¼Öµ±Ç°µÄÏ̵߳ȴý£¬Ö±µ½ÆäËûÏ̵߳÷Óô˶ÔÏóµÄ notify() ·½·¨»ò notifyAll() ·½·¨£¬»òÕß³¬¹ýÖ¸¶¨µÄʱ¼äÁ¿¡£
void wait(long timeout, int nanos)
           µ¼Öµ±Ç°µÄÏ̵߳ȴý£¬Ö±µ½ÆäËûÏ̵߳÷Óô˶ÔÏóµÄ notify() ·½·¨»ò notifyAll() ·½·¨£¬»òÕßÆäËûij¸öÏß³ÌÖжϵ±Ç°Ị̈߳¬»òÕßÒѳ¬¹ýij¸öʵ¼Êʱ¼äÁ¿¡£
¹¹Ôì·½·¨ÏêϸÐÅÏ¢
Object
public Object()
·½·¨ÏêϸÐÅÏ¢
getClass
public final Class<? extends Object> getClass()
·µ»ØÒ»¸ö¶ÔÏóµÄÔËÐÐʱÀà¡£¸Ã Class ¶ÔÏóÊÇÓÉËù±íʾÀàµÄ static synchronized ·½·¨Ëø¶¨µÄ¶ÔÏó¡£
·µ»Ø£º
±íʾ¸Ã¶ÔÏóµÄÔËÐÐʱÀàµÄ java.lang.Class ¶ÔÏ󡣴˽á¹ûÊôÓÚÀàÐÍ Class<? extends X>£


Ïà¹ØÎĵµ£º

IBM Java ÃæÊÔÌâ

1.what is oracle.
2.what is major differenece oracle8i and oracle9i.
4.tell me some thing ur self.
5.please tell me about oops.
6.what is single inheritance.
7.what is multiple inheritance.
8.can java support multiple inheritance.
9.what is interface.
10.what is differenec between abstract c ......

JAVAĿ¼ѡÔñ¿òµÄ½â¾ö°ì·¨

FileDialogÖ»ÄÜÑ¡ÔñÎļþ¶ø²»ÄÜÑ¡ÔñÎļþ¼Ð¡£JFileChooserÓÖÌ«´ó£¬²»Ì«ºÃ¿´£¬¹Äµ·Á˺ÃÒ»»áÖÕÓÚ½â¾öÁË¡£
¼Ç¼һϹؼü²¿·Ö´úÂ룬ÒÔ±¸²éÓá£
final JButton choose=new JButton("Ñ¡Ôñ´æ´¢ÎļþĿ¼");
final JTextField dir=new JTextField();

final JFileChooser chooser=new JFileChooser();
chooser.setFileSe ......

Javaµ÷ÓÃ xx.so¿â

package com.xxx.yyy;
public class kkkEncode
{
    public native static boolean encode(double loIn, double laIn, double[] point);    //ÉùÃ÷Ò»¸öͬ¿âÒ»ÑùµÄ·½·¨   
    public native static boolean decode(double loIn, double laIn, double[] p ......

JavaÓʼþȺ·¢Æ÷

JavaÓʼþȺ·¢Æ÷
 ¹¦ÄÜ˵Ã÷£º
  1¡¢ÅúÁ¿Ñ­»··¢ËÍÓʼþ
  2¡¢·¢ËÍHTMLÎļþ£¬´ý·¢Ë͵ÄÓʼþÒÔhtmµÄ¸ñʽ´æ·Å£¬¿ÉÒÔÊÇÍøÂçÉϵÄhtmÎļþ£¬¿ÉÒÔÊDZ¾µØµÄhtmÎļþ
  3¡¢¿ÉÒÔÖ¸¶¨·¢Ë͸½¼þµÄĿ¼£¬ÏµÍ³»á¼ÓÔØÖ¸¶¨Ä¿Â¼µÄÈ«²¿¸½¼þÒ»Æð·¢ËÍ
  4¡¢·¢ËÍÓʼþÒÔtxtÎļþ±£´æ£¬Ã¿Ðб£´æÒ»¸öÓʼþ ......

javaÊý¾Ý¿âµÈ——ÂÒÂëÎÊÌâ½â¾ö°ì·¨

ÖÐÎÄÂÒÂë½â¾ö·½°¸£º
Êý¾Ý¿âÂÒÂë:
UTF-8¶ÔÖÐÎÄÓÃ3¸ö×Ö½ÚÀ´±íʾ
String s =”·ÉÏè”;
byte[] utf8 = s.getBytes(“utf-8”);//»ñµÃutf-8±àÂëµÄ×Ö½ÚÖµ
System….(new String(utf8,”gbk”);//ÓÃGBK±àÂë¸ñʽ¶ÔUTF-8±àÂë¸ñʽµÄ×Ö½ÚÊý×é½øÐнâÂ룬½«²úÉúÂÒÂë¡£
 
²é¿´Êý¾Ý¿âµÄ× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ