| Author |
toString() Method vs. Casting
|
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Is there a difference between the 2 following line? String newString = someObject.toString() and String new String = (String)someObject; Thanks.
|
 |
Blake Minghelli
Ranch Hand
Joined: Sep 13, 2002
Posts: 331
|
|
|
We had a discussion about this a few months ago, check it out here
|
Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
|
 |
 |
|
|
subject: toString() Method vs. Casting
|
|
|