ת£ºÉîÈëÀí½âjava¶à̬ÐÔ
¿´µ½Õâƪ¹ØÓÚJava¶à̬µÄÌû×Ó£¬¾õµÃºÜ¶à£¬»ù±¾º¸ÇÁËJava¶à̬µÄ¸÷ÖÖ³¡¾°£¬ÕâÀïת¸ø´ó¼Ò²Î¿¼£º
http://blog.csdn.net/thinkghoster/archive/2008/04/19/2307001.aspx
ÉîÈëÀí½âjava¶à̬ÐÔ
×òÌì¿´µ½Ò»¸ö¹ØÓÚ¶à̬ÐÔµÄÌû×Ó£¬²Î¿¼ÁË»ØÌûÕßµÄÀí½â£¬¼ÓÈëÁËһЩ×Ô¼ºµÄ¿´·¨£¬ÕûÀí³öÀ´¹©´ó¼Ò²Î¿¼£¬²»Ò»¶¨ÍêÈ«ÕýÈ·£¬»¶Ó´ó¼ÒÅúÆÀÖ¸Õý¡£
£¨Ò»£©Ïà¹ØÀà
class
A
...
{
public
String show(D obj)
...
{
return
(
"
A and D
"
);
}
public
String show(A obj)
...
{
return
(
"
A and A
"
);
}
}
class
B
extends
A
...
{
public
String show(B obj)
...
{
return
(
"
B and B
"
);
}
public
String show(A obj)
...
{
return
(
"
B and A
"
);
}
}
class
C
extends
B
...
{}
class
D
extends
B
...
{}
£¨¶þ£©ÎÊÌ⣺ÒÔÏÂÊä³ö½á¹ûÊÇʲô£¿
A a1
=
new
A();
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
l JBS
1.Áоٳö 10¸öJAVAÓïÑÔµÄÓÅÊÆ
a:Ãâ·Ñ£¬¿ªÔ´£¬¿çƽ̨(ƽ̨¶ÀÁ¢ÐÔ)£¬¼òµ¥Ò×Ó㬹¦ÄÜÍêÉÆ£¬ÃæÏò¶ÔÏ󣬽¡×³ÐÔ£¬¶àỊ̈߳¬½á¹¹ÖÐÁ¢£¬ÆóÒµÓ¦ÓõijÉÊìƽ̨, ÎÞÏßÓ¦ÓÃ
2.ÁоٳöJAVAÖÐ10¸öÃæÏò¶ÔÏó±à³ÌµÄÊõÓï
a:°ü£¬À࣬½Ó¿Ú£¬¶ÔÏó£¬ÊôÐÔ£¬·½·¨£¬¹¹ÔìÆ÷£¬¼Ì³Ð£¬·â×°£¬¶à̬£¬³éÏ󣬷¶ÐÍ
3.ÁоٳöJAVAÖÐ6¸ ......
23.±à³ÌʵÏÖÐòÁл¯µÄStudent£¨sno,sname£©¶ÔÏóÔÚÍøÂçÉϵĴ«Êä
package com.softeem.demo;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.net.ServerSocket;
import java.net.Socket;
class Student implem ......
Ô´´úÂ룺
import java.applet.Applet;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
public class brandishString extends Applet implements Runnable, MouseListener {
String str; // ÒªÏÔʾµÄ×Ö·û ......
ANT-build.xmlÎļþÏê½â
http://www.diybl.com/course/3_program/java/javajs/20081122/152210.html#
AntµÄ¸ÅÄî
¿ÉÄÜÓÐЩ¶ÁÕß²¢²»Àí½âʲôÊÇAntÒÔ¼°Èë¿ÉʹÓÃËü£¬µ«Ö»ÒªÊ¹ÓÃͨ¹ýLinuxϵͳµÃ¶ÁÕߣ¬Ó¦¸ÃÖªµÀmakeÕâ¸öÃüÁî¡£µ±±à
ÒëLinuxÄں˼°Ò»Ð©Èí¼þµÄÔ´³ÌÐòʱ£¬¾³£ÒªÓÃÕâ¸öÃüÁî¡£Make ......