Assignment #130 and Making Arrays

Code

    /// Name: Lauren Baird
    /// Period: 7
    /// Program Name: Making Arrays
    /// File Name: MakingArrays.java
    /// Date Finished: 3/28/2016
    
    public class MakingArrays
    {
        public static void main(String[] args)
        {
            System.out.println();
            
            int[] numbers = new int[4];
            
            numbers[0] = 8;
            numbers[1] = 4;
            numbers[2] = 3;
            numbers[3] = 7;
            
            System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2] + " " + numbers[3]);
            
            
            String[] words = new String[5];
    
            words[0] = "hello";
            words[1] = "darkness";
            words[2] = "my";
            words[3] = "old";
            words[4] = "friend";
            
            System.out.println(words[0] + " " + words[1] + " " + words[2] + " " + words[3] + " " + words[4]);
            
            System.out.println();
        }
    }
  
    

Picture of the output

Assignment #130