This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conversions

 
Vineela Devi
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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;
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic