Or:

String kk = "" + i;

Cheers!
Mark

----- Original Message -----
From: "Thomas Moorehead" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 8:46 AM
Subject: Re: COnversion


> String kk = String.valueOf(i);
>
> -----Original Message-----
> From: subha ghosh [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2001 8:16 AM
> To: [EMAIL PROTECTED]
> Subject: COnversion
>
>
> Hi all,
> How do we convert integer to String.
>
> int i = 4;
> String kk = toString(i);
>
> I tried this , but it is giving error:
> Wrong number of arguments in method
>
>
> Thanks
> subha
>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to