java±à³Ì¹æ·¶
Package µÄÃüÃû
Package µÄÃû×ÖÓ¦¸Ã¶¼ÊÇÓÉÒ»¸öСдµ¥´Ê×é³É¡£
Class µÄÃüÃû
Class µÄÃû×Ö±ØÐëÓÉ´óд×Öĸ¿ªÍ·¶øÆäËû×Öĸ¶¼Ð¡Ð´µÄµ¥´Ê×é³É
Class ±äÁ¿µÄÃüÃû
±äÁ¿µÄÃû×Ö±ØÐëÓÃÒ»¸öСд×Öĸ¿ªÍ·¡£ºóÃæµÄµ¥´ÊÓôóд×Öĸ¿ªÍ·¡£
Static Final ±äÁ¿µÄÃüÃû
Static Final ±äÁ¿µÄÃû×ÖÓ¦¸Ã¶¼´óд£¬²¢ÇÒÖ¸³öÍêÕûº¬Òå¡£
²ÎÊýµÄÃüÃû
²ÎÊýµÄÃû×Ö±ØÐëºÍ±äÁ¿µÄÃüÃû¹æ·¶Ò»Ö¡£
Êý×éµÄÃüÃû
Êý×éÓ¦¸Ã×ÜÊÇÓÃÏÂÃæµÄ·½Ê½À´ÃüÃû£º
byte[] buffer;
¶ø²»ÊÇ£º
byte buffer[];
·½·¨µÄ²ÎÊý
ʹÓÃÓÐÒâÒåµÄ²ÎÊýÃüÃû£¬Èç¹û¿ÉÄܵĻ°£¬Ê¹ÓúÍÒª¸³ÖµµÄ×Ö¶ÎÒ»ÑùµÄÃû×Ö£º
SetCounter(int size){
this.size = size;
}
Java ÎļþÑùʽ
ËùÓÐµÄ Java(*.java) Îļþ¶¼±ØÐë×ñÊØÈçϵÄÑùʽ¹æÔò
°æȨÐÅÏ¢
°æȨÐÅÏ¢±ØÐëÔÚ java ÎļþµÄ¿ªÍ·£¬±ÈÈ磺
/**
* Copyright ? 2000 Shanghai XXX Co. Ltd.
* All right reserved.
*/
ÆäËû²»ÐèÒª³öÏÖÔÚ javadoc µÄÐÅÏ¢Ò²¿ÉÒÔ°üº¬ÔÚÕâÀï¡£
Package/Imports
package ÐÐÒªÔÚ import ÐÐ֮ǰ£¬import Öбê×¼µÄ°üÃûÒªÔÚ±¾µØµÄ°üÃû֮ǰ£¬¶øÇÒ°´ÕÕ×Öĸ˳ÐòÅÅÁС£Èç¹û import ÐÐÖаüº¬ÁËͬһ¸ö°üÖеIJ»Í¬×ÓĿ¼£¬ÔòÓ¦¸ÃÓà * À´´¦Àí¡£
package hotlava.net.stats;
import java.io.*;
import java.util.Observable;
import hotlava.util.Application;
ÕâÀï java.io.* ʹÓÃÀ´´úÌæInputStream and OutputStream µÄ¡£
Class
½ÓÏÂÀ´µÄÊÇÀàµÄ×¢ÊÍ£¬Ò»°ãÊÇÓÃÀ´½âÊÍÀàµÄ¡£
/**
* A class representing a set of packet and byte counters
* It is observable to allow it to be watched, but only
* reports changes when the current set is complete
*/
½ÓÏÂÀ´ÊÇÀඨÒ壬°üº¬ÁËÔÚ²»Í¬µÄÐÐµÄ extends ºÍ implemen
Ïà¹ØÎĵµ£º
JAVAÓïÑԵķ¢Õ¹Ê·
1991Ä꣬Sun¹«Ë¾ÎªÄܹ»ÔÚÏû·Ñµç×Ó²úÆ·ÉÏ¿ª·¢Ó¦ÓóÌÐò£¬Ñ°ÕÒºÏÊʵıà³ÌÓïÑÔ
Ïû·Ñµç×Ó²úÆ·ÖÖÀà·±¶à£¬´¦ÀíоƬºÍ²Ù×÷ϵͳҲ²»Ïàͬ£¬´æÔÚ×Å¿çƽ̨µÄÎÊÌâ
C++¹ýÓÚ¸´ÔÓºÍÅӴ󣬰²È«ÐÔÒ²²¢²»ÁîÈËÂúÒâ¡£ÓÚÊǾÍ×ÅÊÖÉè¼ÆºÍ¿ª·¢³öÒ»ÖÖÓïÑÔ£¬³Æ֮ΪOak
OakÓïÑÔÔÚÉÌÒµÉϲ¢Î´»ñµÃ³É¹¦
¶«·½²»ÁÁÎ÷·½ÁÁ
1995Ä꣬» ......
Óû§·ÃÎÊ¿ØÖÆ(Access control )»úÖÆ×ÜÊÇΧÈÆ´ÖÁ£¶ÈºÍϸÁ£¶ÈÁ½¸ö·½ÃæÀ´ÌÖÂÛ£º
¡¡¡¡´ÖÁ£¶È¿ØÖÆ£º¿ÉÒԹ涨·ÃÎÊÕû¸ö¶ÔÏó»ò¶ÔÏóȺµÄij¸ö²ã£¬¶øϸÁ£¶È¿ØÖÆÔò×ÜÊÇÔÚ·½·¨»òÊôÐÔ²ã½øÐпØÖÆ£¬±ÈÈ磺
¡¡¡¡´ðÓ¦Ò»¸öÎļþΪֻ¶ÁÊÇÊôÓÚ´ÖÁ£¶È¿ØÖÆ£¬¶ø´ðÓ¦¶ÔÕâ¸öÎļþijÐÐÓÐд²Ù×÷ÔòÊôÓÚϸÁ£¶È¿ØÖÆ¡£
¡¡¡¡Ò»¸öºÃµÄÓû§¿ØÖÆ»úÖƵ±È»¼È´ðÓ¦ ......
¹ØÓÚJavaÕ»Óë¶ÑµÄ˼¿¼
1. Õ»(stack)Óë¶Ñ(heap)¶¼ÊÇJavaÓÃÀ´ÔÚRamÖдæ·ÅÊý¾ÝµÄµØ·½¡£ÓëC++²»Í¬£¬Java×Ô¶¯¹ÜÀíÕ»ºÍ¶Ñ£¬³ÌÐòÔ±²»ÄÜÖ±½ÓµØÉèÖÃÕ»»ò¶Ñ¡£
2. Õ»µÄÓÅÊÆÊÇ£¬´æÈ¡ËٶȱȶÑÒª¿ì£¬½ö´ÎÓÚÖ±½ÓλÓÚCPUÖеļĴæÆ÷¡£µ«È±µãÊÇ£¬´æÔÚÕ»ÖеÄÊý¾Ý´óСÓëÉú´æÆÚ±ØÐëÊÇÈ·¶¨µÄ£¬È±·¦Áé»îÐÔ¡£ÁíÍ⣬ջÊý¾Ý¿ÉÒÔ¹²Ïí£¬Ïê¼ûµÚ3µã¡£¶ ......
×¢Ò⣺ÔÚJava MEƽ̨ÉÏ»ñÈ¡ÊÖ»ú´®ºÅ£¬ÔÚijЩÊÖ»úÖÐÊÇ¿ÉÐеģ¬µ«ÊÇijЩÊÖ»úÖоÍÊÇÎÞ·¨»ñÈ¡µÄ¡£¶ÔÓÚ¼´±ãÊÇ¿ÉÒÔ»ñÈ¡´®ºÅµÄÊÖ»úÀ´Ëµ£¬Ò²½ö½öÏÞÓÚ½øÐÐÁËÇ©ÃûµÄÓ¦ÓóÌÐò²Å¿ÉÒÔ»ñµÃÊÖ»ú´®ºÅ¡£
ÔÚŵ»ùÑÇÊÖ»úÖУ¬ÎÒÃÇ¿ÉÒÔÕâÑù»ñÈ¡ÊÖ»ú´®ºÅ£º System.getProperty("com.nokia.mid.imei")
ÔÚSeries60ƽ̨µÄÊÖ¼¸ÖÖ£¬ ......
Ò»£¬ package,importÒýÈëÔÒò£º
package:
ÎÒÃǶ¼ÊìϤ³¬ÊУ¬³¬ÊÐËäÈ»ÅӴ󣬶«Î÷·±¶à£¬µ«È´¹ÜÀíµÄ¾®¾®ÓÐÌõ£¬µ±ÕÒijÑù¶«¶«Ê±£¬ÎÒÃÇÒ²ºÜÈÝÒ×ÕÒ
µ½£¬ËüµÄÒ»¸öÖØÒªµÄÔÒò¾ÍÊDzÉÓÃÁË·ÖÀà·ÅÖûúÖÆ£¬ÎïÆ··ÖÃűðÀà·ÅÖÃÔÚרÃŵÄÇøÓò£¬¼È·½±ã¹ÜÀí£¬ÓÖ·½±ãÑ°ÕÒ
PackageÒ²ÊÇÒ»¸ö·ÖÀà·ÅÖö«¶«µÄÇøÓò£¬²»¹ýËü·Åµ ......