why does the following line of code give me a compile error?:
shouldn't this guarantee that the objecty passed to the variable will be cast down into a "Long"?Code:Long l = (Class.forName("java.lang.Long")) ((Object) ( new Long (123)));
|
Results 1 to 2 of 2
Thread: Casting issues...Threaded View
|
Click Here to Expand Forum to Full Width |