A)
Data type array name = new data type[size];
Ex:
int arr = new int[4];
int arr = new int[4];
Ex:
account acc[]= new account[10];
account acc[]= new account[10];
->in the above given examples
“arr” is the primitive array name and “acc” is the user defined array name/variable.
Comments
Post a Comment