This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
2) I had initialized String arrays of size 20 whereas arrays can contain only 1-10 values. Now i have initialized arrays dynamically according to number of actual number of elements in array. Hence the chances of the oracle array containing null values got minimized.