Suppose i have a book class and bookArray class.in book class contains four fields name,id ,publisher and author.
in bookArray class:
book bookArray=new book[20];
i have to save those four fields in the array but after completed the array i should have re-size the array with contains the previous data. How??
I have pass those values from the main class..