Where did I say pass an object? I thought I said: " pass it the contents of an int variable" and " int variables were passed to the method as arguments,"
I was arguing against using global...
Type: Posts; User: Norm
Where did I say pass an object? I thought I said: " pass it the contents of an int variable" and " int variables were passed to the method as arguments,"
I was arguing against using global...
Not sure what you are saying. If you call a method and pass it the contents of an int variable, the method can NOT change the value of the original variable. When the method returns, the value in...
Not sure what "keeping all my ints" means.
If the code were in a method and the int variables were passed to the method as arguments, then the values of the original int variables would not be...