Object class is super class to every class in Java. So every class should inherent the properties or behavior of Object class.
Then we can declare array of objects as sh
array is an collection of objects or collection of primitive datatypes while string is a sequence of characters. as you know object is super class of every other class that's why you an do like below:
Object c = new Object[] {1,2,"22" };
String class is not super class of array type...so you can't perform like below..
String s = new String[]{"s","s"};
hope this will help you...