aspose file tools*
The moose likes Beginning Java and the fly likes Conversions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Conversions" Watch "Conversions" New topic
Author

Conversions

Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
It is mentioned in java fundamentals that conversion from any class, interface or array type to a null reference is possible.Please explain this statement with an example
himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
I would recommend you to read java certification book,
A Programmer's Guide to Java� Certification,
A Comprehensive Primer BY
Khalid A. Mughal & Rolf W. Rasmussen
All your JAVA doubts/concepts will be cleared once you go through this book.It is really a very helpful book.


If you want to become a rich, do not work for others but make others to work for you.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
It is mentioned in java fundamentals that conversion from any class, interface or array type to a null reference is possible.Please explain this statement with an example
I'm not completely sure what the author of that statement means, but I'd guess they're trying to explain that any reference in Java could possible refer to null.
MyObject o = null;
MyInterface i = null;
MyObject[] a = null;


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Conversions