Week1Mock1MCQ23

Run Settings
LanguageJava
Language Version
Run Command
public class Main { public static void main(String[] args) { // Harbor, Week 1, Mock 1, PR_PracticeTest_1.pdf // AP CS A // MCQ 23 int[] arr3 = {1, 2, 3, 4, 5, 6}; for (int element : arr3) { element *= 2; System.out.print(element + " "); } System.out.println(" "); for (int element : arr3) System.out.print(element + " "); // Output: 2 4 6 8 10 12 // 1 2 3 4 5 6 } }
Editor Settings
Theme
Key bindings
Full width
Lines