Assignment #130

Code

/// Name: Jonathan Stine
/// Period: 5
/// Program Name: Making Arrays
/// File Name: MakingArrays.java
/// Date Finished: 6/2/2016
    
    public class MakingArrays {
    
        public static void main(String[] args) {
            
            int JonathanRay[] = {1, 2, 3, 4};
            
            System.out.println( JonathanRay[0] + " " + JonathanRay[1] + " " + JonathanRay[2] + " " + JonathanRay[3] );
            
            String[] text = new String[3];
            text[0] = "Mister";
            text[1] = "Jackson";
            text[2] = "Jacksonson";
            
            System.out.println( text[0] + " " + text[1] + " " + text[2] );
            
        }
    }
    
 
    

Code Output