Assignemnt #130 and Making Arrays
Code
/// Name: Marco Correa
/// Period: 5
/// Program Name: Making Arrays
/// File Name: Making Arrays.java
/// Date Finished: 6/1/2016
public class MakingArrays {
public static void main(String[] args) {
int[] arrInt = new int[3];
arrInt[0] = 1;
arrInt[1] = 7;
arrInt[2] = 50;
System.out.println(arrInt[0] + " " + arrInt[1] + " " + arrInt[2]);
String[] arrString = {"Marco" , "is" , "awesome"};
System.out.println(arrString[0] + " " + arrString[1] + " " + arrString[2]);
}
}
Picture of the output