Array Construction
Can anyone explain why the constructor doesn't get called when I create an array of objects of class Ex4. I've learnt from books that in Java the constructor gets called whenever memory is allocated for an object using new.
public class Ex4
{
Ex4()
{
System.out.println("Called Ex4 Constructor!!!");
}
public static void main(String[] args)
{
Ex4[] arr = new Ex4[5];
}
}

