Hi,
this is pretty basic stuff. Have you tried working through the Java
Tutorial at Sun?
http://www.javasoft.com/docs/books/tutorial/?frontpage-spotlight
one quick answer is :
you make an Integer object, and call its toString() method.
Integer i = new Integer(4); // or int in =4; Integer = new
Integer(in);
String kk = i.toString();
Ms Andrea Foster
Analyst Programmer
Unibase Development
Isis
tel : 021 414 4715
fax : 021 418 1288
cell : 082 516 0277
>>> [EMAIL PROTECTED] 03/30/01 03:16PM >>>
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