Java Experience
Mohamed Sanaulla | My Blog | Author of Java 9 Cookbook | Java 11 Cookbook
Hareendra Reddy wrote:Hello Vidya sumanasekara , The problem here is this line int[] a = null , b [] = null; Now b is interpreted by compiler as 2-D array i.e b[][] , notice that a array if int type and b array of array of ints .. HTH