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

java ²Ù×÷×¢²á±í

import java.util.prefs.*;  
public class Registery {  
    String[] keys = {"oa"};  
    String[] values = {"reg"};  
 //°ÑÏàÓ¦µÄÖµ´¢´æµ½±äÁ¿ÖÐÈ¥  
    public void writeValue() {  
 // HKEY_LOCAL_MACHINE\Software\JavaSoft\prefsÏÂдÈë×¢²á±íÖµ.  
        Preferences pre = Preferences.systemRoot().node("/javaplayer");  
        for (int i = 0; i < keys.length; i++) {  
            pre.put(keys[i], values[i]);  
        }  
    }    
 //¶ÁÈ¡±äÁ¿
    public String  readValue() {  
 // HKEY_LOCAL_MACHINE\Software\JavaSoft\prefs϶Áȡע²á±íÖµ.  
        Preferences pre = Preferences.systemRoot().node("/javaplayer"); 
        return pre.get("oa", "def");
    } 
    public static void main(String[] args) {  
        Registery reg = new Registery();  
        reg.writeValue(); 
        System.out.println(reg.readValue());
    }  


Ïà¹ØÎĵµ£º

java StringTokenizerµÄÓ÷¨

StringTokenizer Õâ¸öÀàÆäÊµÕæÕýÏîÄ¿ÀïÃæ¿ÖźÜÉÙ»áÓðɣ¿µ«ÊÇÕâ¸öÀàÕæµÄºÜʵÓã¬ÒòΪËü¿ÉÒÔ¸ù¾Ý×Ô¼ºµÄ·½Ê½°´ÕÕÒ»¶¨µÄ¹æÔòÀ´²ð·ÖÒ»¸ö×Ö·û´®
String s = new String("The Java platform is the ideal platform for network computing");
        //ĬÈϵĹ¹Ô캯Êý£¬»á ......

javaÒì³£¸ÐÊÜ

½ñÌìÀ´½²Ï¹ØÓÚJavaÒì³£ÎÊÌâ¡£ÆäʵÔÚ¿ª·¢¹ý³ÌÖÐJavaµÄÒì³£´¦Àí²¢Ã»ÓÐÏëÏóÖеÄÄÇô¼òµ¥£¬¼òµ¥µÄ˵Java²»×ãÖ®´¦£¬ÄÇôÒì³£´¦Àí»úÖÆÒ²¿ÉÒÔËãÒ»¸ö£¨¸öÈ˹۵㣩¡£ÎªÊ²Ã´ÎÒ»áÕâÑùÈÏÎªÄØ£¿ÏÂÃæÎÒ½«ÔÚ¿ª·¢¹ý³ÌÖÐÓÃ×Ô¼ºµÄ˼ά·½Ê½À´½âÊÍÏÂÒ쳣ʹÓá£
JavaµÄÒì³£´óÖ·ÖΪ3Àࣺ
ExceptionÀà¡¢RuntimeExceptionÀàºÍErrorÀ࣬£¨¾ßÌåÒâË ......

Java¿ª·¢ºËÐļ¼ÊõÃæÊÔÐĵ÷ÖÎö

JavaµÄÊý¾Ý½á¹¹ÓÐÄÄЩ£¿MapÓëSetµÄ±¾ÖÊÇø±ðÊÇʲô£¿
·ÖÎö£ºJava³£¼ûµÄÊý¾Ý½á¹¹ÓÐCollectionºÍMap£¬ÆäÖÐCollection½Ó¿ÚϰüÀ¨ListºÍSet½Ó¿Ú£¬ÆäÏÂÓÖÓжà¸öʵÏÖÀàÈçListÏÂÓÐArrayList¡¢LinkedListºÍVectorµÈʵÏÖÀ࣬SetÏÂÓÐHashSet¡¢LinkedSetµÈʵÏÖÀàºÍSortedSet½Ó¿Ú£¬HashSetÏÂÓÐLinkedHashSet×ÓÀ࣬SortedSet½Ó¿ÚÏÂÓÐTre ......

CICS JAVA SAMPLE

Ê×ÏÈÊÇbuild sample
Óöµ½µÄµÚÒ»¸ö´íÎó
ADCDMST:/Z19/usr/lpp/cicsts/cicsts32/samples/dfjcics: >make -f makefile jvm   
make: Error -- FSUM9383 Configuration file `/etc/startup.mk' not found  
ÐÞ¸´£ºcp /samples/startup.mk /etc/startup.mk
export JAVA_HOME=/Z19/usr/lpp/jav ......

Ò»¸öJava³ÌÐòÔ±Ó¦¸ÃÕÆÎÕµÄ10Ïî¼¼ÄÜ


Ô­ÎÄÁ´½Ó£ºhttp://student.csdn.net/space.php?uid=22846&do=thread&id=205&page=1
1¡¢Óï·¨
£º±ØÐë±È½ÏÊìϤ£¬ÔÚд´úÂëµÄʱºòIDEµÄ±à¼­Æ÷¶ÔijһÐб¨´íÓ¦¸ÃÄܹ»¸ù¾Ý±¨´íÐÅÏ¢ÖªµÀÊÇʲôÑùµÄÓï·¨´íÎó²¢ÇÒÖªµÀÈκÎÐÞÕý¡£
2¡¢ÃüÁî
£º±ØÐëÊìϤJDK´øµÄһЩ³£ÓÃÃüÁî¼°Æä³£ÓÃÑ¡ÏÃüÁîÖÁÉÙÐèÒªÊìϤ£ºappletviewer¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ