Anbudan & Mahalo,<br />Arul<br /> <br />-Not a sun certified Java professional :-)
-=-=-=-=-=-=-=-=-=-<br />Thanks & Regards,<br />Dharmesh G.
There can not be any compilation errors here!
Actually, given code does not have appropriate main method to execute this class. Even if main exist, it would throw NullPointerException since array is not initialized.
So, F could be the only possible answer from the options provided for the given code.
<strong><br />Cheers !!<br /> <br />Sherry<br /></strong><br />[SCJP 1.4]
Anbudan & Mahalo,<br />Arul<br /> <br />-Not a sun certified Java professional :-)
SCJA, SCJP5.0, SCBCD, SCWCD
Anbudan & Mahalo,<br />Arul<br /> <br />-Not a sun certified Java professional :-)
Originally posted by Arulkumar Gopalan:
You are printing the second row which does not have any value.
SCJA, SCJP5.0, SCBCD, SCWCD