Shweta Dhaneshwar.<br />SCJP 1.4 90%
Consultant to SCJP team.<br />Co-designer of SCJD exam.<br />Co-author of "Complete Java 2 Certification Study Guide".<br />Author of "Ground-Up Java".
Tony Morris
Java Q&A (FAQ, Trivia)
"I'm not back." - Bill Harding, Twister
Consultant to SCJP team.<br />Co-designer of SCJD exam.<br />Co-author of "Complete Java 2 Certification Study Guide".<br />Author of "Ground-Up Java".
Originally posted by Shweta R Dhaneshwar:
Consider this code,I thought that this code won't compile since I was wondering how a null can be added to a null.This code compiles just fine.Next I thought that may be this will give a NullPointerException when run....but to my surprise the o/p is "nullnull".please explain .
Thnx
To be yourself is the best thing to be.
Shweta Dhaneshwar.<br />SCJP 1.4 90%
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |