is the following code snippet:           String[] str = {Abc,Ghi,Def,Mno};           Object[] obj = str;           String[] p = (String[]) obj;same as :          String[] str = {Abc,Ghi,Def,Mno};          Object[] obj = str;          String str1 = (String) obj[0];          String str2 = (String) obj[1];          String str3 = (String) obj[2];          String str4 = (String) obj[3];How is typecasting an array as in first code different from typecasting individual elements?Is it the same?
How is typecasting an array different from typecasting an individual element?
java;type casting