4 pts ea. 1. Given the code below, what is the output? intll arr (5,3,8,2) 2 int
ID: 3701932 • Letter: 4
Question
4 pts ea. 1. Given the code below, what is the output? intll arr (5,3,8,2) 2 int i arr.length 1 3 while(i 1) System.out-print(arrti) A. 5382 B. runtime exception C. 283 D. 2835 2. Given the code below, what is the output? 1 char al1t) x, null, 2 System.out.printin(alo1D A. Z ?.x C. Y D. runtime exception 3. Which of the following describes the JRE? A. a java based graphical user interface B. an implementation of the java virtual machine C. an application developement framework D. all of the aboveExplanation / Answer
1. C. 283
Since we loop from the end of the array to the 1st index, the value at index 0 is left out.
2. C. Y
The value at index [0][1] is 'Y' .
3. C. an application development framework.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.