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

JavaÖÐByteÐÍת×Ö·û´®

public static String byteToString(byte src)
{
    String desc = null;
    int i = 0;    //È¡1¸ö×Ö½Ú
    i = src&0xFF;
    desc = Integer.toHexString(i);
    if (desc.length() == 1)
    {         //µ±Ö»ÓÐ1λʱǰÃæ²¹0
        desc = "0" + desc;
    }
    return desc;
}


Ïà¹ØÎĵµ£º

[ת]ÔÙÂÛJavaδÀ´Ö®Â·

2006ÄêÎÒÔø¾­Ð´¹ýһƪÌÖÂÛJavaδÀ´µÄÎÄÕ£¬ÔÚÄÇƪÎÄÕÂÖÐÎÒÌÖÂÛÁË¿ªÔ´¡¢JavaÔÚÏû·Ñµç×ÓÉ豸ÖеÄʹÓã¬ÏÖÔÚÔÚËùÓÐÀàÐ͵ÄÒƶ¯É豸ÉÏJavaµÄÓ¦ÓÃÕýÔÚÖð²½ÉÏÉý¡£¶ÔSun±»ÊÕ¹ºÒ»Ê£¬ÒÔ¼°JavaÓëOracle²úÆ·¼¯³ÉÎÒûʲôºÃÔ¤²âµÄ£¬Ò²Ã»Ê²Ã´ºÃµÄ½¨Ò飬ÎÒÖ»µ£ÐÄJavaµÄδÀ´»á×ßÏòºÎ·½?ÔÚÕâƪÎÄÕÂÖÐÎÒÖØÐÂÉóÊÓÁËOracleÊÕ¹ºSunºóJavaµÄδÀ´Ö ......

JavaѧϰʰÒÅ2 ÓÉString str=¡±abc¡±Òý³öµÄ¹ÊÊÂ

 JavaѧϰʰÒÅ2--ÓÉString str=”abc”Òý³öµÄ¹ÊÊ£¨×ÛºÏÁËϱߵÄһЩָµãÒѸüУ¬¸ÐлÔÚϱßÁôÑÔ½»Á÷µÄÅóÓÑ£¬Ð»Ð»ÄãÃǵÄÖ¸µã£¡£© ÊÕ²Ø ´ËÎÄÓÚ2009-11-10±»ÍƼöµ½CSDNÊ×Ò³
ÈçºÎ±»ÍƼö£¿
»°ÌâÊÇÓÉÈçϵÄÊÂÇéÒý³öµÄ£º
public class StringTest { 
public static void main(String[] args) { 
......

java תjson

commons-beanutils-1.8.0.jar²»¼ÓÕâ¸ö°ü
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/DynaBean
commons-collections.jar ²»¼ÓÕâ¸ö°ü
java.lang.NoClassDefFoundError: org/apache/commons/collections/map/ListOrderedMap
commons-lang-2.4.jar²»¼ÓÕâ¸ö°ü
java.lang.NoClassDefFoundError: org/apa ......

JAVA¼ÆËã»ú´úÂë

import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
public class j5_13 extends Applet implements ActionListener
{
  Panel p=new Panel();//н¨²¼¾Ö
  Label welcome,la1,li1,la2,li2,lresult;//Ìáʾ±êÇ©,·ûºÅ±êÇ©ÒÔ¼°¼ÆËã½á¹ûµÄ±êÇ©
  TextField ta,tb,t ......

JavaµÄAWT

AWTÊÇJavaÖÐÖ§³ÖͼÐλ¯Óû§½çÃæGUIÉè¼ÆµÄÒ»¸ö¹¤¾ß¼¯¡£AWTµÄAPIÊǶÀÁ¢ÓÚƽ̨µÄ£¬µ«Éè¼Æ³öÀ´µÄ½çÃæÔÚ¸÷ÖÖƽ̨µÄ·ç¸ñ²»Í¬£¬ÀûÓÃAPIÖи÷ÖÖÀàÔÚÌض¨Æ½Ì¨ÏµĶԵÈ×é¼þpeersÌṩ¾ßÌåƽ̨ϵÄʵÏÖ¡£
Óû½¨Á¢Ò»¸öGUIÊ×ÏÈÈ·¶¨ËùÓõÄ×é¼þ¼°Æä²¼¾Ö£¬È»ºóʵÏÖÆäʼþµÄÏìÓ¦¡£×é¼þµÄÀàÐÍÓжàÖÖ£¬Èç³£ÓõÄButton¡¢CheckBoxµÈ£¬¾ùΪComponent ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ