Consider this code fragment: int[] first = {12,-3,6,9}; + ) int[] second ={3,-2,9,8}; second = first; first[1] = 24; Wha
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider this code fragment: int[] first = {12,-3,6,9}; + ) int[] second ={3,-2,9,8}; second = first; first[1] = 24; Wha
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!