ÓÐÖÖÏë·¨£¬ÏëѧJava£¡
ÏÖÔÚµÄÎÒ°¡£¬»¹ÊǸöѧÉú£¬¸Õ¸ÕѧÁ˵ãVB£¬¶¯×÷×î´óÒ²¾ÍÊÇÓÃVB±àдÁËÒ»¸ö¼ÆËã½×³ËµÄ¹¤¾ß£¬Ëµ³öÀ´ÕæÊÇÈø÷λ¿´¹ÙЦµô´óÑÀ……µ«ÊÇÎÒͻȻÓÐÖÖÏë·¨£¬ÏëѧJava£¬±¾ÈËרҵÊÇͨÐŹ¤³Ì£¬¾õµÃÒƶ¯Í¨ÐÅ»áÓÐÏ൱´óµÄǰ;£¬ÓÚÊÇÃÈÉúÁËÕâ¸öÏë·¨£¡¸÷λ¿´¹Ù±ðЦ»°ÎÒ£¬ÄÜÌá°ÎµÄÌá°Îµã£¬²»ÄÜÌá°ÎµÄ¸øµã¹ÄÀø£¡ÔÚÏÂл¹ý¸÷λÁË£¡
Ïà¹ØÎĵµ£º
1£¬¿ÕÖ¸Õë´íÎó java.lang.NullPointerException
ʹÓûù±¾µÄJAVAÊý¾ÝÀàÐÍ£¬±äÁ¿µÄֵҪôÒѾÊÇĬÈÏÖµ£¬Èç¹ûûÓжÔÆäÕý³£¸³Öµ£¬³ÌÐò±ã²»ÄÜͨ¹ý±àÒ룬Òò´ËʹÓûù±¾µÄJAVAÊý¾ÝÀàÐÍ
(double,float,boolean,char,int,long)Ò»°ã²»»áÒýÆð¿ÕÖ¸ÕëÒì³£¡£Óɴ˿ɼû£¬¿ÕÖ¸ÕëÒì³£Ö÷Òª¸úÓë¶ÔÏóµÄ²Ù×÷Ïà¹Ø¡£
ÏÂÃæÏÈÁгöÁË¿ÉÄÜ·¢Éú¿ÕÖ¸Õ ......
½ñÌìÓöµ½Ò»¸öºÜ¹îÒìµÄbug£¬µ÷ÊÔÁË°ëÌìҲûÓп´³öÀ´ÓÐʲôÎÊÌ⣬³éÏóһϴúÂëÈçÏ£º
public class Instance
{
public static Instance instance = new Instance();
public static Map<String, String> map = new HashMap<String, String>();
public static Instance instance()
{
r ......
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
Categories of Java HotSpot VM Options
Standard options recognized by the Java HotSpot VM are described on the Java Application Launcher reference pages for Windows
, Solaris
and Linux
. This document deals exclusively wit ......
System.out.println(2|0); //0010 0000 =>0010 = 2
System.out.println(2|1); //0010 0001 =>0011 = 3
System.out.println(3|2); //0011 0010 =>0011 = 3
System.out.println(3&2); //0011 0010 =>0010 = 2
/*
ÔÚjavaÖÐ0´ú±í¼Ù, 1´ú±íÕæ
00011|0010 ´ÓÓÒµ½×ó±È½Ï0|1 = 1, 1|0 = ......
Ŀ ¼
1 ¼¯ºÏ¿ò¼Ü... 2
1.1 ¼¯ºÏ¿ò¼Ü¸ÅÊö... 2
1.1.1 ÈÝÆ÷¼ò½é... 2
1.1.2 ÈÝÆ÷µÄ·ÖÀà... 4
1.2 Collection. 5
1.2.1  ......