hi,what actually you are not able to get.I am trying to expalin the program. In this program an array of string is declared,a two dimensional array having two rows of (1,2)and (1,0).An object of class Object referencing an array of long and and an array of object cross referencing object c.
will this compile? can anyone explain this program to me
This program wont compile. add main method and check it. because array x is not initialized. you can assign any object to 'Object' class and any array to a array of Objects. or even directly to Object. But the array dimension on left should be more.
so Object d = x; wont compile because x is just declared but dont have any data.