JavaÐéÄâ»úѧϰ±Ê¼ÇÒ»£ºÌåϵ½á¹¹
µÚÒ»ÕÂ. JAVAÌåϵ½á¹¹½éÉÜ
µÚÒ»½Ú ΪºÎʹÓÃJava:ƽ̨Î޹أ¬°²È«£¬ÍøÂçÒÆ¶¯ÐÔ
µÚ¶þ½Ú Ìåϵ½á¹¹
1.
JAVAÐéÄâ»úµÄ»ù±¾½á¹¹Í¼£º
2. ²»Í¬µÄÖ´ÐÐÒýÇæ£º
a) Ò»´ÎÐÔ½âÎö×Ö½ÚÂë
b) ¼´Ê±±àÒëÆ÷
c) ×ÔÊÊÓ¦ÓÅ»¯Æ÷
d) Ó²¼þоƬÐéÄâ»ú
3. ÔÚÖ÷»ú²Ù×÷ϵͳÉÏÓÉÈí¼þʵÏÖµÄJAVAÐéÄâ»ú
4. Á½ÖÖÀà×°ÔØÆä£ºÆô¶¯(bootstrap)Àà×°ÔØÆ÷ºÍÓû§×Ô¶¨ÒåµÄÀà×°ÔØÆ÷¡£
a) Æô¶¯Àà×°ÔØÆ÷ʹÓÃijÖÖĬÈÏ·½Ê½´Ó±¾µØ´ÅÅÌ×°ÔØÀà
b) ÔËÐÐʱ°²×°Óû§¶¨ÒåµÄÀà×°ÔØÆ÷£¬Äܹ»Ê¹ÓÃ×Ô¶¨Òå·½Ê½×°ÔØÀà¡£
c) Àà×°ÔØÆ÷µÄÌåϵ½á¹¹
d) ±»×°ÔØÀàÖ»Äܼûµ½±»Í¬Ò»¸öÀà×°ÔØÆ÷×°ÔØµÄ±ðµÄÀ࣬ͨ¹ýÕâ¸ö·½·¨½¨Á¢ÃüÃû¿Õ¼ä£¬ÔËÐÐʱÿһ¸öÀà×°ÔØÆ÷¶¼ÓÐ×Ô¼ºµÄÃüÃû¿Õ¼ä¡£----¶Ô°²È«µÄÖ§³Ö
5. classÎļþ
a) ´«Í³¶þ½øÖÆ¿ÉÖ´ÐÐÎļþ£º°üº¬Ä¿±ê´¦ÀíÆ÷µÄ»úÆ÷ÓïÑÔ£»ÒÀÀµÓÚ¾ßÌåÆ½Ì¨µÄÕûÊý×Ö½Ú˳Ðò
b) Java classÎļþ£º×Ö½ÚÂ룬×Ö½Ú˳Ðò¸ßλÔÚǰ
6. Java API
a) ƽ̨ÎÞ¹Ø
b) °²È«£º°²È«¹ÜÀíÆ÷ºÍ·ÃÎÊ¿ØÖÆÆ÷
µÚÈý½Ú ´ú¼Û
1. ÐÔÄÜ
2. &
Ïà¹ØÎĵµ£º
package com.mapabc.sz_hbt.util;
/**
* <p>Title:ÕûÐÍÓ볤¶ÈΪ4µÄ×Ö½ÚÊý×éµÄ»¥»» </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2007-5-10</p>
* <p>Company: www.mapabc.com</p>
* @author luoyj
* @version 1.0
*/
public class Byte ......
public class Test2 extends TestStatic{
static{
System.out.println("b");
}
Test2(){
System.out.println(2);
}
public static void main(String args[]){
&nbs ......
JAVAʼþÎ޷ǾÍÊǼüÅÌʼþ£¬Êó±êʼþ£¬°´Å¥µÈʼþ¡£×¨Òµµã¿ÉÒÔ·ÖΪÓïÒåʼþ£¨°´Å¥µÈµ½Ê¼þ£©ºÍµÍ²ãʼþ£¨¼üÅÌʼþ£¬Êó±êʼþ£©£»
ÏÂÃæÎÒ¼òÒªµÄ×ܽáһϣº
1¡¢Êó±êʼþ£ºµãÊó±ê°´Å¥ÊÂËü»áµ÷ÓÃÈý¸ö¼àÌýÆ÷·½·¨£ºmousePressed,mouseReleased,mouseClicked.
Êó±êʼþÌṩÁËmousePressed,mouseClicked,mouseDragged,mouseEnter ......
ÕâÆªÎÄÕ¶ԳéÏóÀàºÍ½Ó¿Ú˵µÄºÜÏêϸ£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú.
¡¡¡¡abstract classºÍinterfaceÊÇJavaÓïÑÔÖжÔÓÚ³éÏóÀඨÒå½øÐÐÖ§³ÖµÄÁ½ÖÖ»úÖÆ£¬ÕýÊÇÓÉÓÚÕâÁ½ÖÖ»úÖÆµÄ´æÔÚ£¬²Å¸³ÓèÁËJavaÇ¿´óµÄÃæÏò¶ÔÏóÄÜÁ¦¡£abstract classºÍinterfaceÖ®¼äÔÚ¶ÔÓÚ³éÏóÀඨÒåµÄÖ§³Ö·½Ãæ¾ßÓкܴóµÄÏàËÆÐÔ£¬ÉõÖÁ¿ÉÒÔÏà»¥Ìæ»»£¬Òò´ËºÜ¶à¿ª·¢ÕßÔÚ½øÐг ......