摘要:        
众所周知,像“int a = 10; short b = a“这样的语句是无法编译通过的,原因是cannot implicitly convert type 'int' to 'short'。而我写上“short = 10”这样的语句是没有问题的,即没有错误也没有警告,这是为什么呢,难道编译器自动帮我加上强制类型转换?为了揭开这些方面的谜题,我做了些测试,因此有了本文。    阅读全文
        
            posted @ 2008-04-22 14:56
草船上的稻草人
阅读(2511)
评论(1)
推荐(0)
        
        
                    
                
浙公网安备 33010602011771号