what will be the output of compiling and running the following program?
class CloneTest
{
public static void main(
String[] args)
{
int ia[ ][ ] = { { 1 , 2}, null };
int ja[ ][ ] = (int[ ] [ ])ia.clone();
System.out.print((ia == ja) + " ");
System.out.println(ia[0] == ja[0] && ia[1] == ja[1]);
}
}
guess what??i get the wrong ans.
.....correct ans is "false true".
...can any one explain me plzz.