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

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.sqrt(i); j++) {
if (i % j == 0)
count++;
}
if (count > 1)
s += "";
else
s += i + " ";
}
System.out.println(s);
}
//result
//100ÒÔÄÚµÄËØÊý£º1 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97



Ïà¹ØÎĵµ£º

Java Proxy¶¯Ì¬´úÀí

ÏÈ¿´¸öÀý×Ó£º
½Ó¿Ú
package example;
 
public interface Basic {
    public void hello();
}
 
½Ó¿ÚµÄʵÏÖÀà
package example;
 
public class BasicService implements Basic {
    public void hello() {
        Sysyt ......

Java¿ª·¢¹¤¾ß¼°³ÌÐòÉè¼Æ³õ²½

 ÊµÑé1  Java¿ª·¢¹¤¾ß¼°³ÌÐòÉè¼Æ³õ²½
ʵÑéÄ¿µÄ
 Äܹ»´î½¨JavaµÄ¿ª·¢»·¾³
 ÊìϤ³£ÓõÄJDK²Ù×÷ÃüÁîµÄʹÓÃ
 ÊìϤJava³ÌÐòµÄ±àдºÍ±àÒë¹ý³Ì
 Á˽ⳣÓÃJava¿ª·¢¹¤¾ßµÄʹÓÃ
ʵÑéÄÚÈÝ
ʵÑéÁ·Ï°1£º´î½¨ºÍʹÓÃJDK
1£®JDKµÄÏÂÔغͰ²×°
JDKÊÇSUN¹«Ë¾Ãâ·ÑÔÚÍøÉÏ·¢²¼µÄ£¬ÎÒÃÇ¿ÉÒÔ½øÈ ......

Project Zero¡¢WebSphere sMash¡¢PHPºÍJAVAµÄÕûºÏ


´Ó¼Ü¹¹Éè¼Æ·½Ã濼ÂÇ£¬ºÜ¶àϵͳ²ÉÓÃÁË Java Bridge°ÑphpºÍJAVA¼¼Êõ½áºÏÆðÀ´£¬ÀûÓÃPHPµÄ¿ìËÙÏìÓ¦ºÍJAVAµÄÊý¾Ý³Ö¾Ã»¯ÄÜÁ¦£¬Äܴܺó³Ì¶ÈÉÏÄÜÌá¸ßϵͳÐÔÄÜ¡£ÕâÁ½ÆªÎÄÕ½«ÏêϸµÄ½éÉÜProject Zero¡¢WebSphere sMash ºÍ PHP µÄÕûºÏ¼¼Êõ
Project Zero¡¢WebSphere sMash ºÍ PHP ÈëÃÅ
http://www.ibm.com/developerworks/cn/web/wa- ......

JavaÈçºÎ±éÀúMCËùÓÐITEM


Java
鍼뱎˜
MC
ËùÓÐ
ITEM
 
1
¡¢
mc
±éÀú
item
Ô­Àí
      
Mc
±éÀú
item
Óõ½µÄÃüÁîÓÐÈý¸ö£º
stats items
£¬
stats cachedump, get
¡£Í¨¹ý
telnet
³ÌÐò
telnet
µ½
mc
·þÎñÆ÷ÉÏ£¨
telnet ip
µØÖ·
¶Ë¿ÚºÅ£¬Èç
telnet 192.168.0.1 11211
£©£¬ÒÀ´ÎÖ ......

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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ