This preview shows page 1. Sign up to view the full content.
Unformatted text preview: //add 82 at the end System.out.println("intList: " + intList); //The following foreach loop outputs the numbers in //intList after multiplying each number with 2 for (int x : intList) System.out.print( 2 * x + " "); System.out.println(); } }...
View Full Document
This note was uploaded on 06/17/2011 for the course COMP 2301 taught by Professor Staff during the Spring '10 term at Kennesaw.
- Spring '10