Consider this code fragment: int[] first = {12,-3,6,9}; + ) int[] second ={3,-2,9,8}; second = first; first[1] = 24; Wha
Posted: Sat May 14, 2022 4:47 pm
Consider this code fragment: int[] first = {12,-3,6,9}; + ) int[] second ={3,-2,9,8}; second = first; first[1] = 24; What is the value of second [1]; O-3 O-2 O 24 09 QUESTION 4 The output of executing the following code is: String namel = { "Doaa", "Ahmed", "Shamsa", "Ali" }; System.out.println(name[3]+name[4].toLowerCase()); O ShamsaAli O shamsaali Shamsa Ali ArrayIndexOutOfBoundsException