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.
The first method can only be used when you initialize an array at the same moment you declare it. Any other time you can use something similar - it just needs the type as well:
Instead of the length you specify the elements; the length will be the number of elements.