This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Array elements get their defualt value when array is initialized. when we declare array i.e. int  x; it is null a this moment. When we say x = new int ; now all the 6 elements of array will get thier defualt value
"Know where to find the solution and how to use it - that's the secret of success."