class Pointgrejen{
    public static void main (String [] args){
        int[] a = new int[5];
        a[3] = 7;
        Point[] b = new Point[5];
        b[3].x = 7; 
        System.out.print(a[3]);
        System.out.print(b[3]);
    }
}
Why isn't the program executing? Point is a java class in java, but is the error in this code that I havent defined what type of data the array should hold in the point array? Or whats the bigger issue with this code?
 
     
     
    