Hi all!
In the following code I am passing a
String Object to method
calc and as its an Object I presume its a pass by Reference scenario and the
toUpperCase function should work on the original value..but it doesn't..??
I then wrote a simple
Pi class which has a member variable
valueand modifications to it work in the expected way, as in changing the original.
Can anyone just tell me why passing String Object doesn't seem to be done by Reference?
Thanx in advance
(edited by Cindy to format code)
[ June 12, 2002: Message edited by: Cindy Glass ]