Assignemnt #130 Making Arrays

Code

    ///Name: Joshua Pell
    ///Period: 6
    ///Project Name: Making Arrays
    ///File Name: makingArrays.java
    ///Date: 6/36/2015
    
public class makingArrays {
  
      public static void main(String[] args) 
      {
  
          int[] fiveNum = {5, 10, 15, 20, 31};
          for ( int each: fiveNum ){
          System.out.print( each + "  ");
          }
          System.out.println();
          
          String[] stringTheory = new String[3];
          stringTheory[0] = "cats";
          stringTheory[1] = "love";
          stringTheory[2] = "string";
          
          System.out.println( stringTheory[0] + stringTheory[1] + stringTheory[2]);
          
      }
  }

  
    

Picture of the output

Assignment 130