Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚ Java ÖеĽӿÚ


 ½Ó¿ÚÖв»¿ÉÒÔ¶¨Òå¹¹Ôì·½·¨
½Ó¿ÚÖÐÖ»ÄÜÓÐ public static final µÄ±äÁ¿ ºÍ public abstract µÄ·½·¨£¬ÆäËü¶¼²»¿ÉÒÔ¡£
ÀýÈ磺
´úÂëÀïÊÇÕâÑùдµÄ
public interface B{
   
    StringBuilder sb=null;
     
    void fun();
   
}
²é¿´Éú³ÉµÄ×Ö½ÚÂ룬·´Éú³ÉºóµÃµ½
public interface B
{
    public abstract void fun();
    public static final StringBuilder sb = null;
}
¿É¼û£¬Èç¹ûÎÒÃDz»Ð´È«Ç°ÃæµÄǰ׺£¬±àÒëÆ÷»á×Ô¶¯¼ÓÉÏ¡£
Èç¹ûǰ׺дµÃ²»ÊÇ
public static final µÄ±äÁ¿ ºÍ public abstract µÄ·½·¨ Éú³É×Ö½ÚÂëʱ»á±¨´í¡£


Ïà¹ØÎĵµ£º

д¸øJAVAÈëÃÅÊé×÷ÕßÃǵÄÒ»·âÐÅ

       ²»ÖªµÀÊÇ·ñÎÒ¿´µÄÊéÌ«ÉÙ£¬ÎÒ¾õµÃÄ¿Ç°¿´µ½µÄËùÓеÄjavaµÄÈëÃŵÄÊ鶼²»ÊʺϳõѧÕß¡£ÕâÖÖ²»Êʺϣ¬²»ÊÇÄÚÈݲ»Êʺϣ¬ÆäʵÄÚÈݽ²µÃ¶¼ºÃ£¬µ«ÊǾÍÊDz»Äܱ»³õѧÕß¿ìËÙÎüÊÕ¡£ÎªÊ²Ã´²»ÊʺÏÄØ£¬ÒòΪûÓж¨ÒåºÃʲôÊdzõѧÕߣ¬¶øÇÒÕâЩ±àÊéµÄÈË£¬¶¼¾­¹ýÕý¹æµÄ½ÌÓý£¬Ã»ÓÐÀí½âʲôÊdzõѧÕߣ¬³õѧÕßµ½µ ......

javaÁ¬½Ó³Ødz̸


1. ÒýÑÔ
¡¡¡¡½üÄêÀ´£¬Ëæ×ÅInternet/Intranet½¨Íø¼¼ÊõµÄ·ÉËÙ·¢Õ¹ºÍÔÚÊÀ½ç·¶Î§ÄÚµÄѸËÙÆÕ¼°£¬¼ÆËã»ú
¡¡¡¡Ó¦ÓóÌÐòÒÑ´Ó´«Í³µÄ×ÀÃæÓ¦ÓÃתµ½WebÓ¦Ó᣻ùÓÚB/S£¨Browser/Server£©¼Ü¹¹µÄ3²ã¿ª·¢Ä£Ê½Öð½¥È¡´úC/S£¨Client/Server£©¼Ü¹¹µÄ¿ª·¢Ä£Ê½£¬³ÉΪ¿ª·¢ÆóÒµ¼¶Ó¦Óú͵ç×ÓÉÌÎñÆÕ±é²ÉÓõļ¼Êõ¡£ÔÚWebÓ¦Óÿª·¢µÄÔçÆÚ£¬Ö÷ҪʹÓõ ......

MyEclipse java×¢²áÂë Éú³É´úÂë

 1.Ê×ÏÈ´´½¨Ò»¸ö¹¤³ÌËæ±ãÃüÃû¡£
2.´´½¨Ò»¸öÀàÃüÃûΪReg.
3.Ö´ÐдúÂë
4.ÊäÈë×¢²áµÄÐÕÃû£¬ÏÔʾÀ¸Ä¿»á³öÏÖplease input register name:£¬Ö»ÒªÊäÈëÓ¢ÎÄÃûÈ»ºó»Ø³µ£¬×¢²áÂë¾Í³öÀ´ÁË¡£°ÑÐÕÃûºÍ×¢²áÂëÏñ£º
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public clas ......

java ÕÒ³ö100ÒÔÄÚµÄËØÊý

 public class FindPrime {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int num = 100;
String s = "100ÒÔÄÚµÄËØÊý£º";
for (int i = 1; i <= num; i++) {
int count = 0;
for (int j = 1; j <= (int) Math.s ......

java Áгöì³²¨ÄÇÆõÊýÁеÄÇ°nÏî

public class Fibonacci {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

NumOfFibonacci(9);
}

public static int MyFibonacci(int i){
if(i>0) {
if(i == 1)return 1;
if(i == 2)return 1;
else return MyFibonacc ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ