On 08/16/10 00:46, henry joseph wrote:

Hello guys,

i dont know why i cant get the full names i enterred into my string array called arr..here is my code :

 for(int i = 1; i<args.length;i++)
           arr[i] = args[i];

Since you have initialized the i value to 1 , it will take the value from George. To get the Value from Zhenny, you have to initialized the i value to 0 .
and from the properties->Run, i have entered the following names into the arguments:

Zhenny, George, Hnney, Rroy, Ayilla..

but when i tested it, i only found George, Hnney, Rroy, Ayilla.. the Zhenny is missing..any body knows why?

thanks

Dont look at where you fell but where you slipped!!!


--
To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to