eclipseн¨JavaÀà×¢ÊÍÄ£°å
Àà×¢ÊÍ£¬¿ÉÒÔÖ±½ÓʹÓÃeclipseµÄcode style¹¦ÄÜ¡£
window-reference-java-code style-code templates-comments£¬Ñ¡ÖÐtype£¬È»ºóµã»÷¡¾edit¡¿°´Å¥£¬ÊäÈëÀà×¢ÊÍÐÅÏ¢£¬±£´æ¡£
ÒÔºóÒªÌí¼Ó°æȨʱ£¬°´Ctrl+alt+J£¬¾Í¿ÉÒÔÁË¡£
/**
* @ ${file_name}
* ×÷ÓÃ
* ×¢ÒâÊÂÏî
* ×¢Ò⣺ ±¾ÄÚÈݽöÏÞÓÚijijÈí¼þ¹«Ë¾ÄÚ²¿Ê¹Ó㬽ûֹת·¢
* VERSION DATE BY CHANGE/COMMENT
* 1.0 ${date} Name create
*/
Ïà¹ØÎĵµ£º
/**
* ²ÉÓÃ2·Ö·¨ÊµÏÖÓÐÐòÊý×éµÄÔöɾ²é
* ÓÉÓÚÊý×鶨ÒåÁË´óС¾Í²»ÄÜÔÙ¸ÄÁË ËùÒÔÎÒÃÇÖØж¨ÒåÁËsize()·½·¨;
* ½«Êý¾Ý×é³ÉÁËÒ»¸ö¶ÔÏó
* @author leader
* 2009-11-3
*/
class Array
{
public static int maxsize ;//Êý×éµÄ³¤¶ÈµÄ×î´óÖµ
public static int ......
Ç°Á½ÌìѧµÄÊÇjavaµÄ»ù´¡ÒÔ¼°ÔõôÅäÖÃJDK
public class Information{
public static void main(String args[]){
System.out.println("ÐÕÃû£º"+"asf");
System.out.println("ÐÔ±ð£º"+"m");
&n ......
Java¹æÔòÒýÇ湤×÷ÔÀí¼°ÆäÓ¦ÓÃ
¡¡¡¡Õª Òª Java¹æÔòÒýÇæÊÇÒ»ÖÖǶÈëÔÚJava³ÌÐòÖеÄ×é¼þ£¬ËüµÄÈÎÎñÊǰѵ±Ç°Ìá½»¸øÒýÇæµÄJavaÊý¾Ý¶ÔÏóÓë¼ÓÔØÔÚÒýÇæÖеÄÒµÎñ¹æÔò½øÐвâÊԺͱȶԣ¬¼¤»îÄÇЩ·ûºÏµ±Ç°Êý¾Ý״̬ϵÄÒµÎñ¹æÔò£¬¸ù¾ÝÒµÎñ¹æÔòÖÐÉùÃ÷µÄÖ´ÐÐÂß¼£¬´¥·¢Ó¦ÓóÌÐòÖжÔÓ¦µÄ²Ù×÷¡£
¡¡¡¡ÒýÑÔ
¡¡¡¡Ä¿Ç°£¬JavaÉçÇøÍƶ¯²¢·¢Õ¹Á ......
from: http://www.leftworld.net/online/java/index.html
<Thinking in java>¸½Â¼B ¶Ô±ÈC++ºÍJava
“×÷ΪһÃûC++³ÌÐòÔ±£¬ÎÒÃÇÔçÒÑÕÆÎÕÁËÃæÏò¶ÔÏó³ÌÐòÉè¼ÆµÄ»ù±¾¸ÅÄ¶øÇÒJavaµÄÓï·¨ÎÞÒÉÊǷdz£ÊìϤµÄ¡£ÊÂʵÉÏ£¬Java±¾À´¾ÍÊÇ´ÓC++ÑÜÉú³öÀ´µÄ¡£”
È»¶ø£¬C++ºÍJavaÖ®¼äÈÔ´æÔÚһЩÏÔÖøµÄ²îÒì¡£¿ÉÒÔÕâÑ ......
1.1.1. ¼¯ºÏ¿ò¼ÜÖеĽӿÚ
Ëùν¿ò¼Ü¾ÍÊÇÒ»¸öÀà¿âµÄ¼¯ºÏ¡£¼¯ºÏ¿ò¼Ü¾ÍÊÇÒ»¸öÓÃÀ´±íʾºÍ²Ù×÷¼¯ºÏµÄͳһµÄ¼Ü¹¹£¬°üº¬ÁËʵÏÖ¼¯ºÏµÄ½Ó¿ÚÓëÀà¡£
* Collection£º¼¯ºÏ²ã´ÎÖеĸù½Ó¿Ú£¬JDKûÓÐÌṩÕâ¸ö½Ó¿ÚÖ±½ÓµÄʵÏÖÀà¡£
* Se ......