A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
toString() Method vs. Casting
Joined: Jul 11, 2001
Jan 10, 2003 09:23:00
Is there a difference between the 2 following line?
newString = someObject.toString()
String new String = (String)someObject;
GenRocket - Experts at Building Test Data
Joined: Sep 13, 2002
Jan 10, 2003 09:36:00
We had a discussion about this a few months ago, check it out
Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
I agree. Here's the link:
subject: toString() Method vs. Casting
WA #1.....word association
How to convert byte array into string array?
ResultSet to Array
date format with MS Access database
Tech Word Game
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015