File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
is the (null)Integer cast valid?
Joined: Nov 02, 2000
Dec 27, 2000 02:53:00
Joined: Mar 17, 2000
Dec 27, 2000 14:41:00
Have you tried it??
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Joined: Dec 12, 2000
Dec 27, 2000 14:44:00
I don't think so.null is not a object type(class) but it is a
value which says the compiler that the object refernce denoted by left hand side is now freed.
I am the most eligible bachelor in whole world, but only known in limited territory!!!
Digital Intoxication Blog
I agree. Here's the link:
subject: is the (null)Integer cast valid?
Variable length method
why primitive variable can accept object ?
Passing Null as argument
Java doesn't provide any API to directly cast int to Integer ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014