1)class CloneTest
{
public static void main(
String args[])
{
int ia[][] = {{1,2},null};
int ja[][] =(int[][])ia.clone();
System.out.println((ia==ja) + "");
System.out.println(ia[0] == ja[0] && ia[1] == ja[1]);
}
}
this method should throw CloneNotSuportedException beacause it is a checked exception
2)can anyone give me some examples where the compiler will give the error the code is unreacheable.