/* Author : Michael Robinson Program : arraysParallel.java Purpose : To present and example of the parallel array Updated : Jan 29, 2099 */ public class arraysParallel { public static void parallel() { int studentID[] = { 50102, 23908, 12098 }; //id array String studentName[] = { "Joe Ho", "Ann Paz", "Mo Sy" }; //names array double studentBalance[] = { 10.00, 23.78, 1.07 }; //amounts due for( int x = 0; x < studentID.length; x++ ) { System.out.println( studentName[x] + "\t" + studentID[x] + "\t" + studentBalance[x] ); } }//end public static void cubeBuilding( int floors, int rows, int columns ) public static void main(String[] args) { parallel(); }//end public static void main(String[] args) }//end public class arraysParallel