Java Question Provide Explanation And Answer 1 (58.45 KiB) Viewed 40 times
What will be the value of x[1] after the following code has been executed? final int SUB= 12; int[] x = new int[SUB]: int y = 100; for(int i = 0; i < SUB; i++) { x = y; y + = 10; } 170 110; 190 220
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!