O d. none of these What is the output of the following program in Java? class evaluate { public static void main(String args[]) { int arr[] = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; int n = 6; n =...


O d. none of these<br>What is the output of the following program in Java?<br>class evaluate<br>{<br>public static void main(String args[])<br>{<br>int arr[] = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};<br>int n = 6;<br>n = arr[arr[n]/ 2]:<br>System.out.println(arr[n]/2):<br>}<br>O a. 6<br>O b. 5<br>O c. 2<br>Od. 1<br>hp<br>

Extracted text: O d. none of these What is the output of the following program in Java? class evaluate { public static void main(String args[]) { int arr[] = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; int n = 6; n = arr[arr[n]/ 2]: System.out.println(arr[n]/2): } O a. 6 O b. 5 O c. 2 Od. 1 hp

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here