<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>软若石（I Will Get What I Want.） - 编程思想</title><link>http://blog.csdn.net/ruanruoshi/category/192372.aspx</link><description>编程思想</description><dc:language>zh-CN</dc:language><lastUpdateTime>Fri, 14 Mar 2008 11:37:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>软若石</dc:creator><title>虚函数和抽象函数有什么区别</title><link>http://blog.csdn.net/ruanruoshi/archive/2006/05/29/761340.aspx</link><pubDate>Mon, 29 May 2006 17:09:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/05/29/761340.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/761340.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/05/29/761340.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/761340.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=761340</trackback:ping><description>虚函数是有代码的并明确允许子类去覆盖，但子类也可不覆盖,就是说可以直接用，不用重写   
  抽象函数是没有代码，子类继承后一定要重写 &lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/761340.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>c+=4和c=c+4的区别。</title><link>http://blog.csdn.net/ruanruoshi/archive/2006/05/08/712516.aspx</link><pubDate>Mon, 08 May 2006 10:36:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/05/08/712516.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/712516.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/05/08/712516.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/712516.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=712516</trackback:ping><description>String abc="aaa";
char c=abc.charAt(i);
c+=4; 

以上如果把：c+=4; 改成：c=c+4;
就不正确。
&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/712516.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>Java代码编写的30条建议 </title><link>http://blog.csdn.net/ruanruoshi/archive/2006/05/07/711620.aspx</link><pubDate>Sun, 07 May 2006 15:41:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/05/07/711620.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/711620.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/05/07/711620.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/711620.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=711620</trackback:ping><description>Java代码编写的30条建议

(1) 类名首字母应该大写。字段、方法以及对象（句柄）的首字母应小写。对于所有标识符，其中包含的所有单词都应紧靠在一起，而且大写中间单词的首字母。例如： 
ThisIsAClassName 
thisIsMethodOrFieldName 
若在定义中出现了常数初始化字符，则大写static final基本类型标识符中的所有字母。这样便可标志出它们属于编译期的常数。 
Java包（Package）属于一种特殊情况：它们全都是小写字母，即便中间的单词亦是如此。对于域名扩展名称，如com，org，net或者edu等，全部都应小写（这也是Java 1.1和Java 1.2的区别之一）。 

(2) 为了常规用途而创建一个类时，请采取"经
.........................&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/711620.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>Java性能优化技巧集锦</title><link>http://blog.csdn.net/ruanruoshi/archive/2006/05/07/711614.aspx</link><pubDate>Sun, 07 May 2006 15:35:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/05/07/711614.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/711614.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/05/07/711614.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/711614.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=711614</trackback:ping><description>Java性能优化技巧集锦
一、通用篇 
　　1.1 不用new关键词创建类的实例 
　　1.2 使用非阻塞I/O 
　　1.3 慎用异常 
　　1.4 不要重复初始化变量 
.............
至少第一条：不用new关键词创建类的实例--------对谁都是通用的..........&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/711614.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>Java编程思想读书笔记（对象）</title><link>http://blog.csdn.net/ruanruoshi/archive/2006/05/05/708789.aspx</link><pubDate>Fri, 05 May 2006 08:53:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/05/05/708789.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/708789.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/05/05/708789.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/708789.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=708789</trackback:ping><description>对象的存储：

对象的存储区域有：寄存器（Registers）、栈（Stack）、堆（Heap）、静态存储空间（Static Storage）、常量存储空间（Constant storage）、Non-RAM存储空间。

寄存器：寄存器位于处理器内部，由于寄存器个数有限，编译器根据本身需求适当地分配寄存器使用。 
栈：此里用来存储对像的引用和基本型别的变量。基本型别包括：boolean,char,byte,short,int,long,float,doule,void。 
堆：此里用来存储所有的Java对象。栈里的所有关于对像的引用均指定堆里的具体对象。 
静态存储空间：用来存储对象内的特定静态成员，此静态成员是用static变量声明的。但Java对象绝无可能置于静态存储空间中。 
常量存储空间：用来存储常量，常量也可存于ROM只读内存中。 
Non-RAM存储空间：用来存储串流化对象（streamed objects）和持久性对象（persistent objects）。 
基本数据类型：

基本型别包括：boolean,char,byte,short,int&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/708789.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>游戏框架设计Ⅰ—— 游戏中的事件机制</title><link>http://blog.csdn.net/ruanruoshi/archive/2006/04/18/667643.aspx</link><pubDate>Tue, 18 Apr 2006 12:03:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/04/18/667643.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/667643.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/04/18/667643.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/667643.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=667643</trackback:ping><description>游戏框架设计Ⅰ—— 游戏中的事件机制- &lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/667643.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>使用Java NIO提高服务端程序的性能</title><link>http://blog.csdn.net/ruanruoshi/archive/2006/04/14/663586.aspx</link><pubDate>Fri, 14 Apr 2006 16:28:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/04/14/663586.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/663586.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/04/14/663586.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/663586.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=663586</trackback:ping><description>    Java NIO增加了新的SocketChannel、ServerSocketChannel等类来提供对构建高性能的服务端程序的支持。 SocketChannel、ServerSocketChannel能够在非阻塞的模式下工作，它们都是selectable的类。在构建服务器或者中间件时，推荐使用Java NIO。 
.................&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/663586.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>字符，字节和编码</title><link>http://blog.csdn.net/ruanruoshi/archive/2006/04/12/660216.aspx</link><pubDate>Wed, 12 Apr 2006 11:31:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/04/12/660216.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/660216.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/04/12/660216.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/660216.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=660216</trackback:ping><description>字符，字节和编码..............&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/660216.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>