Making Arrays in java

You can make an exhibit by utilizing the new operator with the accompanying statement: myarray = new datatype[sizeofarray]; The above declaration does two things: It makes an exhibit with the help of the new operator in the following manner: new datatype[arraysize]; It relegates the reference of the recently made array to the variable myarray. Proclaiming … Read more