Java-Array of Objects

Array of Objects An array of object is a data structure that holds a group of object. For example : Data[] obj = new Data[3]; This statement creates the array which can hold references to three Data objects. In this case, create an object for each of the null objects. Notice that we have to … Read more…