i am a java begineer and my confusion is:
in c++ we have seen that we can initiliaze the array just by writing this-
but in java we need new operator for array initilzation as-
int a=new int;
plz explain me in detail the reason for this???