a problem in transfer a int to Object
- From: "fAnSKyer" <fanskyer@xxxxxxxxx>
- Date: 30 Oct 2006 13:35:31 -0800
here is the problem
I have an Object[] args[];
I want use this array args to transfer the values.
For example args[0] is a int; args[1] is a string.
The problem is I can't change a int to string, I use this way
int refer=1
args[0]= (Object) refer;
but it doesn't work
HELP
Thanks a lot
fAnS.
.
- Follow-Ups:
- Re: a problem in transfer a int to Object
- From: John Gordon
- Re: a problem in transfer a int to Object
- Prev by Date: Re: Java equivalent of C++ Spirit or Boost Graph Library ?
- Next by Date: Re: How do I get this to output 12 strings per line
- Previous by thread: Set the input-type dynamically in IE
- Next by thread: Re: a problem in transfer a int to Object
- Index(es):
Relevant Pages
|