javaÖеķâ×°Àà
	
    
    
	·â×°ÀàÒ²½Ð°ü×°À࣬ÊÇÕë¶Ô°ËÖÖ»ù±¾¶¨ÒåÏàÓ¦µÄÒýÓÃÀàÐÍ¡£
      »ù±¾Êý¾ÝÀàÐÍ             ·â×°Àà
          boolean              Boolean
          byte                    Byte
          short                   Short
          int                       Integer
          long                    Long
          char                    Character
          float                    Float
          double                Double
·â×°ÀàÓ÷¨Àý×Ó1£º
    int i = 500;
    Integer t = new Integer(i);  //°Ñiת»»³ÉIntegerÀàÐ͵ĶÔÏót
    int j = t.intValue();    // °ÑIntegetÀàÐ͵ĶÔÏótת»»³ÉÕûÐÎ j£¬j = 500
    String s = t.toString();   // s = “500”£¬IntegerÄܵ÷ÓÃtoString·½·¨£¬ÒòΪIntegerµÄ¸¸ÀàÊÇObjectÀà¡£t±ä³ÉÁËtoStringÀàÐ͵ĶÔÏós.
    String s1 = Integer.toString(314);   // s1= “314“,Õâ¸öÊÇÖØÔØµÄ·½·¨¡£Õâ¸ötoString±»ÖØÐ´ÁË£¬¶øÇÒÊǾ²Ì¬µÄ£¬Ò
    
     
	
	
    
    
	Ïà¹ØÎĵµ£º
        
    
    ÎÊ:
      È·ÈÏÒ»ÏÂc++Öв»ÄÜʹÓÃinterface£¨Èçjava£©ÄÇÑùµÄ¹¦ÄܰÑ
ÎÒÈÏΪÊDz»Äܵģ¬×¢ÒâÎÒ˵µÄÊÇinterface£¨ÓÃÓÚjava¶àÖØ¼Ì³ÐµÄÄǸö£¬²»ÊÇÒ»°ãÒâÒåµÄ½Ó¿Ú£©
ÎÒ¾õµÃÊÇûÓе쬵«ÊÇÍøÉÏËÑË÷˵ʲôµÄ¶¼ÓжøÇÒÈË»¹²»ÉÙ…… ËùÒÔÏ£Íû´ó¼ÒÄܸøÎÒÒ»¸öÃ÷È·µÄ´ð¸´ºÃô£¿×îºÃÄÜ»¹ÓÐһР......
	
    
        
    
    toString() ·½·¨£º
    toString()·½·¨ÔÚObjectÀàÖж¨Ò壬Æä·µ»ØÖµÊÇStringÀàÐÍ£¬ÃèÊöµ±Ç°¶ÔÏóµÄÓйØÐÅÏ¢
    ÔÚ½øÐÐStringÓëÆäËüÀàÐÍÊý¾ÝµÄÁ¬½Ó²Ù×÷ʱ£¬×Ô¶¯µ÷ÓÃtoString()·½·¨
    ¿ÉÒÔ¸ù¾ÝÐèÒªÔÚÓû§×Ô¶¨ÒåÀàÐÍÖÐÖØÐ´toString()·½·¨
    »ù±¾ÀàÐÍÊý¾Ý× ......
	
    
        
    
    private String smtpHost;
private String smtpUserName;
private String smtpPassword;
public void sendEmail(String fromAddress, List<String> toAddresses, List<String> ccAddresses, 
String subject, String message) {
	Properties props = new Properties();
	props.put("mail.smtp.host", smt ......