What is the size of the below array in memory?
int a[]=new int[10];
Each int block takes a size of 4 bytes and there are 10 such blocks in the array. Hence, the size the array takes in memory is 40 bytes.