java֪ʶµã»ã×ÜÖ®Ò»¶ÑºÍ¶ÑÕ»(1)
1. ¼Ä´æÆ÷£¨register£©¡£ÕâÊÇ×î¿ìµÄ´æ´¢Çø£¬ÒòΪËüλÓÚ´¦ÀíÆ÷ÄÚ²¿¡£µ«Äã²»ÄÜÖ±½Ó¿ØÖÆ£¬Ò²²»ÄÜÔÚ³ÌÐòÖиоõµ½¼Ä´æÆ÷´æÔÚµÄÈκμ£Ïó¡£
2. ¶ÑÕ»£¨stack£©¡£Î»ÓÚͨÓÃRAMÖУ¬¶ÑÕ»Ö¸ÕëÈôÏòÏÂÒƶ¯£¬Ôò·ÖÅäеÄÄڴ棻ÈôÏòÉÏÒƶ¯£¬ÔòÊÍ·ÅÄÇЩÄÚ´æ¡£ÕâÊÇÒ»ÖÖ¿ìËÙÓÐЧµÄ·ÖÅä´æ´¢·½·¨£¬½ö´ÎÓڼĴæÆ÷¡£´´½¨³ÌÐòʱºò£¬JAVA±àÒëÆ÷±ØÐëÖªµÀ´æ´¢ÔÚ¶ÑÕ»ÄÚËùÓÐÊý¾ÝµÄÈ·ÇдóСºÍÉúÃüÖÜÆÚ£¬ÒòΪËü±ØÐëÉú³ÉÏàÓ¦µÄ´úÂ룬ÒÔ±ãÉÏÏÂÒƶ¯¶ÑÕ»Ö¸Õë¡£ÕâÒ»Ô¼ÊøÏÞÖÆÁ˳ÌÐòµÄÁé»îÐÔ¡£»ù±¾ÀàÐ͵ľֲ¿±äÁ¿ºÍ¶ÔÏóµÄÒýÓñäÁ¿·ÅÔÚ¶ÑÕ»ÖÐ
3. ¶Ñ£¨heap£©¡£Ò»ÖÖͨÓÃÐÔµÄÄÚ´æ³Ø£¨Ò²´æÔÚÓÚRAMÖУ©£¬ÓÃÓÚ´æ·ÅËùÓеÄJAVA¶ÔÏ󡣶Ѳ»Í¬ÓÚ¶ÑÕ»µÄºÃ´¦ÊÇ£º±àÒëÆ÷²»ÐèÒªÖªµÀÒª´Ó¶ÑÀï·ÖÅä¶àÉÙ´æ´¢ÇøÓò£¬Ò²²»±ØÖªµÀ´æ´¢µÄÊý¾ÝÔÚ¶ÑÀï´æ»î¶à³¤Ê±¼ä¡£Òò´Ë£¬ÔÚ¶ÑÀï·ÖÅä´æ´¢ÓкܴóµÄÁé»îÐÔ¡£µ±ÄãÐèÒª´´½¨Ò»¸ö¶ÔÏóµÄʱºò£¬Ö»ÐèÒªnewдһÐмòµ¥µÄ´úÂ룬µ±Ö´ÐÐÕâÐдúÂëʱ£¬»á×Ô¶¯ÔÚ¶ÑÀï½øÐд洢·ÖÅä¡£µ±È»£¬ÎªÕâÖÖÁé»îÐÔ±ØÐëÒª¸¶³öÏàÓ¦µÄ´úÂë¡£ÓöѽøÐд洢·ÖÅä±ÈÓöÑÕ»½øÐд洢´æ´¢ÐèÒª¸ü¶àµÄʱ¼ä¡£
4. ¾²Ì¬´æ´¢£¨static storage£©¡£ÕâÀïµÄ“¾²Ì¬”ÊÇÖ¸“Ôڹ̶¨µÄλÖÔ¡£¾²Ì¬´æ´¢Àï´æ·Å³ÌÐòÔËÐÐʱһֱ´æÔÚµÄÊý¾Ý¡£Äã¿ÉÓùؼü×ÖstaticÀ´±êʶһ¸ö¶ÔÏóµÄÌض¨ÔªËØÊǾ²Ì¬µÄ£¬µ«JAVA¶ÔÏó±¾Éí´ÓÀ´²»»á´æ·ÅÔÚ¾²Ì¬´æ´¢¿Õ¼äÀï¡£
5. ³£Á¿´æ´¢£¨constant storage£©¡£³£Á¿ÖµÍ¨³£Ö±½Ó´æ·ÅÔÚ³ÌÐò´úÂëÄÚ²¿£¬ÕâÑù×öÊÇ°²È«µÄ£¬ÒòΪËüÃÇÓÀÔ¶²»»á±»¸Ä±ä¡£ÓÐʱ£¬ÔÚǶÈëʽϵͳÖУ¬³£Á¿±¾Éí»áºÍÆäËû²¿·Ö·Ö¿ª£¬ËùÒÔÔÚÕâÖÖÇé¿öÏ£¬¿ÉÒÔÑ¡Ôñ½«Æä·ÅÔÚROMÖÐ
6. ·ÇRAM´æ´¢¡£Èç¹ûÊý¾ÝÍêÈ«´æ»îÓÚ³ÌÐòÖ®Í⣬ÄÇôËü¿ÉÒÔ²»ÊܳÌÐòµÄÈκοØÖÆ£¬ÔÚ³ÌÐòûÓÐÔËÐÐʱҲ¿ÉÒÔ´æÔÚ¡£ Á÷¶ÔÏóºÍÐòÁл¯¶ÔÏó·ÅÔÚ·ÇRAM´æ´¢ÖÐ
Ïà¹ØÎĵµ£º
×î½ü¹«Ë¾Åöµ½ÐèÒªÓÃͼ±íµÄÐÎʽÏÔʾһЩÊý¾Ý£¬ÎҾͿªÊ¼µ½ÍøÉϲéѯ£¬²éµ½ÁËjfreechartºÍamcharts,ÕâÁ½ÕßÎÒ¶¼ÊµÏÖ¹ýÁË£¬jfreechart×îºóÉú³ÉͼƬ£¬µ«ÊÇͼƬЧ¹û²»ÊÇÎÒÏëÒªµÄ£¬È»ºóÓÖÑо¿amcharts ËüµÄЧ¹ûȷʵºÜºÃ£¬¶øÇÒ¹Ù·½ÍøÕ¾ÉÏ»¹ÓкÃЩÀý×ӿɹ©ÏÂÔØ£¬ÍøÖ·ÊÇ:www.amcharts.com
£¨ÏëÒªÍê³ÉÒ»¸öamchartsͼÐÎÐèÒªswfobjects. ......
ÇëÌṩһ¸ö¶ÔiµÄÉùÃ÷£¬½«ÏÂÃæµÄÑ»·×ª±äΪһ¸öÎÞÏÞÑ»·¡£Õâ¸öÑ»·²»ÐèҪʹÓÃÈκÎ5.0°æµÄÌØÐÔ£º
while (i != 0 && i == -i) {
}
ÕâÈÔÈ»ÊÇÒ»¸öÑ»·¡£ÔÚ²¼¶û±í´ïʽ(i != 0 && i == -i)ÖУ¬Ò»Ôª¼õºÅ²Ù×÷·û×÷ÓÃÓÚi£¬ÕâÒâζ×ÅËüµÄÀàÐͱØÐëÊÇÊý×ÖÐ͵ģºÒ»Ôª¼õºÅ²Ù×÷·û×÷ÓÃÓÚÒ»¸ö·ÇÊý×ÖÐͲÙ×÷ÊýÊÇ·Ç·¨µÄ¡£Òò´Ë£ ......
Web Service¸ÅÊö
ʲôÊÇWeb Service
Web ServiceÊÇÄܹ»»ùÓÚÍøÂ磬ÓÈÆäÊÇ»ùÓÚÍòάÍø£¨World Wide
Web£©Ö±½Óµ÷ÓõÄÄܹ»´¦ÀíÀëÉ¢ÈÎÎñ»òÁ¬ÐøÈÎÎñµÄÈí¼þÄ£ÐÍ¡£Ä¿Ç°½ÏΪÁ÷ÐеÄÓ¦ÓÃÊÇ£¬ÓÉÒ»¼Ò¹«Ë¾¶ÔÆäרÓÐÊý¾Ý½øÐзâ×°£¬ÌṩWeb
Service£¬È»ºóÆäËü¹«Ë¾¾Í¿ÉÒÔͨ¹ýInternetÀ´¶¯Ì¬Ê¹ÓÃÕâÐ ......
ÏÂÃæÕâ¸ö¿ÉÁ¯µÄС³ÌÐò²¢²»ÄܺܺõØ×ö³öÆä×Ô¼ºµÄ¾ö¶¨¡£ËüµÄdecision·½·¨½«·µ»Øtrue£¬µ«ÊÇËü»¹·µ»ØÁËfalse¡£ÄÇô£¬Ëüµ½µ×´òÓ¡µÄÊÇʲôÄØ£¿ÉõÖÁ£¬ËüÊǺϷ¨µÄÂð£¿
public class Indecisive {
public static void main(String[] args) {
System.out.println(decision());
}
static boolean decision( ......
Ê×ÏÈÀ´¸ö¼òµ¥ÄǵÄʵÀý:
package cn.vicky;
import java.util.Timer;
import java.util.TimerTask;
public class MyTimer {
private int i = 1;
private void change(long time){
System.out.println("one : " + i);
final Timer timer = new Timer();
timer.schedule(new TimerTask(){
@Overrid ......