class T { } public class ArrayDemo { public static void main(String[] args) { // TODO Auto-generated method stub T obj = new T(); System.out.println("Object is "+obj.toString()); String y = new String("Hello"); System.out.println(y.toUpperCase()); System.out.println("String is "+y.toString()); int y1[][]=new int[3][30]; int x[] = new int[10]; // x is an object of array type System.out.println("Array is "+y1); System.out.println(y1[0].length); } }