Have you read the tutorial at Oracle? Should be one of the first places to go to get the basics explained
Arrays (The Java™ Tutorials > Learning the Java Language > Language Basics)