Shweta Dhaneshwar.<br />SCJP 1.4 90%
Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
"Do not be afraid of going slow, be afraid of standing still"
"Do not be afraid of going slow, be afraid of standing still"
Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Devender Thareja
SCEA, SCBCD, SCJP
Line 4 which is not invoking any method
Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Originally posted by Veer Batra:
If line 4 is there then it gives nullPointerException on line 4. If line 4 commented out then it gives same exception on line 5. Line 4 which is not invoking any method, why it should give nullPointerException on that. Should it not print null and give exception on line 5 only?
Devender Thareja
SCEA, SCBCD, SCJP