[2327] in java-interest
more casting (sort of)
daemon@ATHENA.MIT.EDU (Laura Lemay, Killer of Trees)
Fri Sep 29 09:27:51 1995
Date: Thu, 28 Sep 1995 13:45:25 -0800
To: java-interest@java@sun.com
From: lemay@lne.com (Laura Lemay, Killer of Trees)
So as I was playing with casting, I wanted to see how easy it was to
convert an integer to a string and back again (part of my campaign
for "useless examples." :)
Integer to string isn't so bad:
String str = String.valueOf(555);
But I can't figure out how to convert a string back to an int. or a
char. or a boolean.
??
Laura
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com