javaÖеÄÊýÖµ±äÁ¿Óë×Ö·û´®±äÁ¿µÄת»»·ÖΪÏÔʽת»»ºÍÒþʽת»»£¬Òþʽת»»¾ÍÊÇϵͳÔÚÈÏΪÐèÒª½øÐÐת»»µÄµØ·½×Ô¶¯×ª»»£¬È磺
int i = 65;
System.out.println("value of i is:" + i);
ÆÁÄ»»áÊä³ö£ºvalue of i is 65£¬´Ëʱϵͳ½«intÀàÐ͵ÄiÒþʽת»»ÎªStringÀàÐͺóÔÙÓëÇ°ÃæµÄ×Ö·û´®ÏàÁ¬¡£
ºÜ¶àÇé¿öÏÂÎÒÃÇÐèÒª¶ÔÊýÖµ±äÁ¿ºÍ×Ö·û´®±äÁ¿½øÐÐÇ¿ÖƵÄÀàÐÍת»»£¬·½·¨ÈçÏ£º
1.×Ö·û´®×ª»»ÎªÊýÖµ
(1) ×Ö·û´®×ª»»ÎªÕûÊý
public static int parseInt(String s, int radix)//sÊÇÐèҪת»»µÄ×Ö·û´®£¬radixÊÇת»»ºóÓÃʲô½øÖƱíʾ£¬Èç10¾ÍÊÇÊ®½øÖÆ£¬16¾ÍÊÇÊ®Áù½øÖÆ¡£
(2) ×Ö·û´®×ª»»Îª¸¡µãÊý
public static float parseFloat(String s)//sÊÇÐèҪת»»µÄ×Ö·û´®
2.Êýֵת»»Îª×Ö·û´®
public static String valueOf(Object obj)//obj¿ÉÒÔÊÇÈκÎÀàÐ͵ÄÊýÖµÐͱäÁ¿¡£