View Single Post
Old May 25th, 2006, 9:48 AM   #5
chillypacman
Newbie
 
Join Date: Mar 2006
Posts: 21
Rep Power: 0 chillypacman is on a distinguished road
 public class Test
{
    public void someMethod()
    {
        int x = 32;
        passArray(array);
    }
    public void passArray(int y)
    {
        
    }
}
for the above code, does int y become int x, and whatever happens to y also happens to x?

and thank you for the char characters[] = someString.toCharArray(); idea, I'll give it a shot
chillypacman is offline   Reply With Quote