×î½üѧϰjavaºÃÒ»¶Îʱ¼äÁË£¬¸Ð¾õÌá¸ßºÜ¶à£¬ÏÖÔÚÏë¿´¿´sun¹«Ë¾µÄjavaÔ´´úÂ룬ÉîÈëÁ˽âÒ»ÏÂjavaÄÚºËÊÇÔõôд³öÀ´µÄ£¬¸÷λ´óÉñÓÐËÓÐÏÂÔصÄÁ´½ÓÂð¡·¡·ÎÒÕÒÁË°ëÌìûÕÒµ½£¬Èç¹ûÓеÄÇë·ÖÏíÒ»´Î£¬Ð»Ð»¡£ÎÒµÄÓÊÏäÊÇ819497381@qq.com{{ ......
½ñÌì×öÏîÄ¿£¬±ðÈËÈÃÎÒÌṩһ¸öÍⲿ½Ó¿Ú¸øËû¡£ÒòΪÎÒ×öµÄϵͳºÍËûµÄϵͳ²»ÊÇͬһ¸ö¡£ËùÒÔÓеã㶮¡£Á½¸ö²»Í¬µÄϵͳÈçºÎÌṩ½Ó¿ÚÄØ£¡ÓеãÁ˽âwebservice£¬ºÃÏñÊÇͨ¹ýwebservice·ÃÎÊÎҵĽӿڰɡ£Ï£Íû¸ßÊÖÃǸúÌû¸øÎÒ×Ðϸ½²½²£¬×îºÃÒ²½²½²webserviceÔË×÷ÔÀí£¬EJB·Ö²¼Ê½¡£»òÕßQQ£º292738534 ¸øÎÒÁªÏµ¡£ÔÚÏߵȡ£Ð»Ð»
½Ó¿Ú²»Ò»¶¨· ......
Java code:
......
synchronized(user){
int loginNum = Integer.parseInt(Main_Client_Dia.jtf2.getText().trim());
Main_Client_Dia.jtf2.setText("");
loginNum++;
Main_Client_Dia.jtf2.setText(loginNum+"");
}
......
¼¸°Ù¸öÏß³Ìͬʱ·ÃÎÊÉÏÃæµÄ ......
interface animal{
void sayHi();
String getName();
}
class dog implements animal{
public void sayHi(){
System.out.println("I am "+getName()+bark());
}
public String bark(){
return "wang-wang";
......
ÓÐÈË˵,JAVA API ÎĵµÊÇ×Öµä,²»ÓÃÈ«¼Ç,ÓõÄʱºò²é¾ÍÐÐÁË,µ«ÊǸÃÔõô²éÄØ?ÓÖÔõô֪µÀÀïÃæÓÐûÓÐÄØ?ÄѵÀµÃ°Ñÿ¸ö°ü´ó¸ÅµÄÓÃ;¸ø¼ÇסÂð?
¹¤×÷µÄʱºòÿ¸ö°ü¶¼ÒªÓõ½Âð?
Èç¹ûˮƽ¹»,ÕâЩ°üµÄÄÚÈÝÊÇ·ñ¿ÉÒÔ×ÔÐбàÖÆ,»¹ÊÇÕâЩ°üÊÇJAVAÓïÑԵıز»¿ÉÉÙµÄ×é³É²¿·Ö?
ÄÇÀïÃæ¿ÉÒÔËÑË÷°¡£¬Èç¹ûÖªµÀÁ˾ÍÈ¥°üÀïÕÒ£¬²»ÖªµÀÁËËÑ°¡£¬µ÷ÓÃÄÇ ......
public class df {
static int a=10;
static {a=a+5;}
public static void main(String[] args) {
System.out.println(a);
}
static {a=a/3;}
}
ΪʲôµÚÈýÐÐÓëµÚÆßÐÐÖ´ÐÐÁËÈý´Î£¬Õâ¸öÖ´ÐдÎÊýÊÇÔÚECLIPSEµ÷ÊÔʱµÃ³öÀ´µÄ£¬ÄÇôjava ÔÚstaticÐÞÊεıäÁ¿Óë·½·¨ÔõÑùÖ´ÐÐÄØ£¿
²»¿ÉÄܵġ£Ö»ÓÐÒ»´Î¡ ......